]> git.joonet.de Git - adminer.git/commitdiff
Set autocommit
authorJakub Vrana <jakub@vrana.cz>
Tue, 27 Sep 2011 00:24:20 +0000 (02:24 +0200)
committerJakub Vrana <jakub@vrana.cz>
Tue, 27 Sep 2011 00:24:20 +0000 (02:24 +0200)
adminer/drivers/mysql.inc.php
changes.txt

index fe8d17b798508076bedb82871b18d34d8e1238df..daabae7a1519520864116c867aab49e446024580 100644 (file)
@@ -250,7 +250,7 @@ if (!defined("DRIVER")) {
                $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;
index efc81a1554bd4d3ae1cfc75dd53e76035e54a411..b2c01528995fd5b52ad2a28076dcc3ab5669f781 100644 (file)
@@ -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)