Set autocommit
This commit is contained in:
parent
b848764299
commit
319abbaf2f
|
@ -250,7 +250,7 @@ if (!defined("DRIVER")) {
|
||||||
$connection = new Min_DB;
|
$connection = new Min_DB;
|
||||||
$credentials = $adminer->credentials();
|
$credentials = $adminer->credentials();
|
||||||
if ($connection->connect($credentials[0], $credentials[1], $credentials[2])) {
|
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;
|
||||||
}
|
}
|
||||||
$return = $connection->error;
|
$return = $connection->error;
|
||||||
|
|
|
@ -5,6 +5,7 @@ Ctrl+click on button opens form to blank window
|
||||||
SET DEFAULT foreign key action
|
SET DEFAULT foreign key action
|
||||||
Trim table and column names (bug #3405309)
|
Trim table and column names (bug #3405309)
|
||||||
Error message with no response from server in AJAX
|
Error message with no response from server in AJAX
|
||||||
|
MySQL: set autocommit after connect
|
||||||
PostgreSQL: fix alter foreign key
|
PostgreSQL: fix alter foreign key
|
||||||
PostgreSQL over PDO: connect if the eponymous database does not exist (bug #3391619)
|
PostgreSQL over PDO: connect if the eponymous database does not exist (bug #3391619)
|
||||||
Boolean search (Editor)
|
Boolean search (Editor)
|
||||||
|
|
Loading…
Reference in a new issue