mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Use DELIMITER only in MySQL
This commit is contained in:
@@ -42,7 +42,7 @@ if (!$error && $_POST) {
|
||||
$commands = 0;
|
||||
$errors = array();
|
||||
while ($query != "") {
|
||||
if (!$offset && preg_match('~^\\s*DELIMITER\\s+(.+)~i', $query, $match)) {
|
||||
if (!$offset && $jush == "sql" && preg_match('~^\\s*DELIMITER\\s+(.+)~i', $query, $match)) {
|
||||
$delimiter = $match[1];
|
||||
$query = substr($query, strlen($match[0]));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user