This commit is contained in:
Trond Schertel
2020-02-11 12:09:09 +01:00
committed by Pierrick Le Gall
parent f9edbd34f7
commit 24e256da52
2 changed files with 4 additions and 4 deletions

View File

@@ -563,13 +563,13 @@ function do_maintenance_all_tables()
function pwg_db_concat($array)
{
$string = implode($array, ',');
$string = implode(',', $array);
return 'CONCAT('. $string.')';
}
function pwg_db_concat_ws($array, $separator)
{
$string = implode($array, ',');
$string = implode(',', $array);
return 'CONCAT_WS(\''.$separator.'\','. $string.')';
}

View File

@@ -679,13 +679,13 @@ function do_maintenance_all_tables()
function pwg_db_concat($array)
{
$string = implode($array, ',');
$string = implode(',', $array);
return 'CONCAT('. $string.')';
}
function pwg_db_concat_ws($array, $separator)
{
$string = implode($array, ',');
$string = implode(',', $array);
return 'CONCAT_WS(\''.$separator.'\','. $string.')';
}