1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 01:54:00 +02:00

Set autocommit

This commit is contained in:
Jakub Vrana
2011-09-27 02:24:20 +02:00
parent b848764299
commit 319abbaf2f
2 changed files with 2 additions and 1 deletions

View 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;