Skip to content
Browse files

Set autocommit

  • Loading branch information...
1 parent b848764 commit 319abbaf2f4eb38107118abdaf557c3fde20817d @vrana committed Sep 27, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 adminer/drivers/mysql.inc.php
  2. +1 −0 changes.txt
View
2 adminer/drivers/mysql.inc.php
@@ -250,7 +250,7 @@ function connect() {
$connection = new Min_DB;
$credentials = $adminer->credentials();
if ($connection->connect($credentials[0], $credentials[1], $credentials[2])) {
- $connection->query("SET sql_quote_show_create = 1");
+ $connection->query("SET sql_quote_show_create = 1, autocommit = 1");
return $connection;
}
$return = $connection->error;
View
1 changes.txt
@@ -5,6 +5,7 @@ Ctrl+click on button opens form to blank window
SET DEFAULT foreign key action
Trim table and column names (bug #3405309)
Error message with no response from server in AJAX
+MySQL: set autocommit after connect
PostgreSQL: fix alter foreign key
PostgreSQL over PDO: connect if the eponymous database does not exist (bug #3391619)
Boolean search (Editor)

0 comments on commit 319abba

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