diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 7165013d..723ed087 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -105,7 +105,7 @@ if (!$error && $_POST) { echo "

" . lang('Error in query') . ": " . error() . "\n"; $errors[] = " $commands"; if ($_POST["error_stops"]) { - break; + break 2; } } elseif (is_object($result)) { select($result, $connection2); diff --git a/changes.txt b/changes.txt index 592cfd69..a1247d5f 100644 --- a/changes.txt +++ b/changes.txt @@ -2,6 +2,7 @@ Adminer 3.3.2-dev: Display error with non-existent row in edit Fix minor parser bug in SQL command with webserver file Don't scroll with AJAX select order and alter move column +Fix SQL command Stop on error Fast number of rows with big tables (PostgreSQL) Sort databases and schemas (PostgreSQL)