From: Jakub Vrana Date: Wed, 10 Aug 2011 16:13:35 +0000 (+0200) Subject: DELIMITER is used internally by Adminer X-Git-Tag: v3.3.3~15 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=74e199e488ad7d3c4d982cad657bf9ef1651a979;p=adminer.git DELIMITER is used internally by Adminer --- diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 723ed087..762f0273 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -57,7 +57,7 @@ if (!$error && $_POST) { $dump_format = $adminer->dumpFormat(); unset($dump_format["sql"]); 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]; $query = substr($query, strlen($match[0])); } else {