Permalink
Browse files

Fix Stop on error

Broken since commit 5576d84
  • Loading branch information...
1 parent 388c21a commit 52c15bf251f4972bbb81ead431bf1e0137eb0d14 @vrana committed Aug 5, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 adminer/sql.inc.php
  2. +1 −0 changes.txt
View
@@ -105,7 +105,7 @@
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);
View
@@ -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)

0 comments on commit 52c15bf

Please sign in to comment.