]> git.joonet.de Git - adminer.git/commitdiff
Fix Stop on error
authorJakub Vrana <jakub@vrana.cz>
Fri, 5 Aug 2011 15:47:33 +0000 (17:47 +0200)
committerJakub Vrana <jakub@vrana.cz>
Fri, 5 Aug 2011 15:47:33 +0000 (17:47 +0200)
Broken since commit 5576d84980e4161acb9ef96025e7ba7030016c50

adminer/sql.inc.php
changes.txt

index 7165013da52c367f043d5ea329572db9cc71eb00..723ed087ddfba0933a512ec3ca3eb24a3f06ce71 100644 (file)
@@ -105,7 +105,7 @@ if (!$error && $_POST) {
                                                                echo "<p class='error'>" . lang('Error in query') . ": " . error() . "\n";
                                                                $errors[] = " <a href='#sql-$commands'>$commands</a>";
                                                                if ($_POST["error_stops"]) {
-                                                                       break;
+                                                                       break 2;
                                                                }
                                                        } elseif (is_object($result)) {
                                                                select($result, $connection2);
index 592cfd69e106d0a0f147785ff7555fa02a64b1d9..a1247d5fa0581faad9807bf72b4382001404ecd9 100644 (file)
@@ -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)