1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-11-01 23:14:58 +03:00

Merge branch 'QA_4_6'

This commit is contained in:
Michal Čihař
2016-05-23 08:43:51 +02:00
2 changed files with 10 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ phpMyAdmin - ChangeLog
- issue #12229 Avoid storing objects in session when debugging SQL
- issue #12249 Fix cookie path on IIS
- issue #11705 Fix occassional 200 errors on Windows
- issue #12219 Fix locking issues when importing SQL
4.6.1 (2016-05-02)
- issue #12120 PMA_Util not found in insert_edit.lib.php

View File

@@ -829,7 +829,15 @@ if (! defined('PMA_MINIMUM_COMMON')) {
}
if (! $controllink) {
$controllink = $userlink;
/*
* Open separate connection for control queries, this is needed
* to avoid problems with table locking used in main connection
* and phpMyAdmin issuing queries to configuration storage, which
* is not locked by that time.
*/
$controllink = $GLOBALS['dbi']->connect(
$cfg['Server']['user'], $cfg['Server']['password'], false
);
}
$auth_plugin->storeUserCredentials();