Merge branch 'QA_4_6'

This commit is contained in:
Michal Čihař 2016-08-28 10:31:28 +02:00
commit 44f5b605ae
2 changed files with 4 additions and 5 deletions

View File

@ -43,6 +43,7 @@ phpMyAdmin - ChangeLog
- issue #12477 Add checking missing elements and confirming element types from json_decode
- issue #12251 Automatically save SQL query in browser local storage rather than in cookie
- issue #12292 Unable to edit transformations
- issue #12502 Remove unused paramenter when connecting to MySQLi
4.6.4 (2016-08-16)
- issue [security] Weaknesses with cookie encryption, see PMASA-2016-29

View File

@ -64,7 +64,6 @@ class DBIMysqli implements DBIExtension
* @param string $host mysql hostname
* @param string $user mysql user name
* @param string $password mysql user password
* @param string $dbname database name
* @param int $server_port server port
* @param string $server_socket server socket
* @param int $client_flags client flags of connection
@ -73,7 +72,7 @@ class DBIMysqli implements DBIExtension
* @return bool
*/
private function _realConnect(
$link, $host, $user, $password, $dbname, $server_port,
$link, $host, $user, $password, $server_port,
$server_socket, $client_flags = null, $persistent = false
) {
global $cfg;
@ -89,7 +88,7 @@ class DBIMysqli implements DBIExtension
$host,
$user,
$password,
$dbname,
'',
$server_port,
$server_socket
);
@ -99,7 +98,7 @@ class DBIMysqli implements DBIExtension
$host,
$user,
$password,
$dbname,
'',
$server_port,
$server_socket,
$client_flags
@ -175,7 +174,6 @@ class DBIMysqli implements DBIExtension
$server['host'],
$user,
$password,
false,
$server['port'],
$server['socket']
);