Skip to content
Browse files

Report errors in data export

  • Loading branch information...
1 parent be3410f commit 164cd3bbb88a82e67f166953572c9f06f725c382 @vrana committed Oct 29, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 adminer/include/adminer.inc.php
View
2 adminer/include/adminer.inc.php
@@ -648,6 +648,8 @@ function dumpData($table, $style, $query) {
$buffer .= ";\n";
echo $buffer;
}
+ } elseif ($_POST["format"] == "sql") {
+ echo "-- " . str_replace("\n", " ", $connection->error) . "\n";
}
}
}

0 comments on commit 164cd3b

Please sign in to comment.
Something went wrong with that request. Please try again.