FIX #19817
This commit is contained in:
parent
91b2d59458
commit
02fc420c2a
@ -240,6 +240,7 @@ function run_sql($sqlfile, $silent = 1, $entity = '', $usesavepoint = 1, $handle
|
||||
if (empty($nocommentremoval)) {
|
||||
$buf = preg_replace('/([,;ERLT\)])\s*--.*$/i', '\1', $buf); //remove comment from a line that not start with -- before add it to the buffer
|
||||
}
|
||||
if ($buffer) $buffer .= ' ';
|
||||
$buffer .= trim($buf);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user