mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
DELIMITER is used internally by Adminer
This commit is contained in:
@@ -57,7 +57,7 @@ if (!$error && $_POST) {
|
|||||||
$dump_format = $adminer->dumpFormat();
|
$dump_format = $adminer->dumpFormat();
|
||||||
unset($dump_format["sql"]);
|
unset($dump_format["sql"]);
|
||||||
while ($query != "") {
|
while ($query != "") {
|
||||||
if (!$offset && $jush == "sql" && preg_match("~^$space*DELIMITER\\s+(.+)~i", $query, $match)) {
|
if (!$offset && preg_match("~^$space*DELIMITER\\s+(.+)~i", $query, $match)) {
|
||||||
$delimiter = $match[1];
|
$delimiter = $match[1];
|
||||||
$query = substr($query, strlen($match[0]));
|
$query = substr($query, strlen($match[0]));
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user