Merge branch 'QA_3_3'
This commit is contained in:
@@ -111,6 +111,8 @@ $Id$
|
||||
them to string.
|
||||
- bug #3034026 [confirmation] TRUNCATE queries get no confirmation request
|
||||
- bug #3036132 [core] Triggers not fetched if dbname has an hyphen
|
||||
- patch #3039269 [dbi] Wrong variable checked for nopassword option,
|
||||
thanks to Will Palmer - wpalmer
|
||||
|
||||
3.3.5.0 (2010-07-26)
|
||||
- patch #2932113 [information_schema] Slow export when having lots of
|
||||
|
@@ -109,9 +109,8 @@ function PMA_DBI_connect($user, $password, $is_controluser = false, $server = nu
|
||||
|
||||
if (!$server) {
|
||||
$return_value = @mysqli_real_connect($link, $GLOBALS['cfg']['Server']['host'], $user, $password, false, $server_port, $server_socket, $client_flags);
|
||||
|
||||
// Retry with empty password if we're allowed to
|
||||
if ($return_value == false && isset($cfg['Server']['nopassword']) && $cfg['Server']['nopassword'] && !$is_controluser) {
|
||||
if ($return_value == false && isset($GLOBALS['cfg']['Server']['nopassword']) && $GLOBALS['cfg']['Server']['nopassword'] && !$is_controluser) {
|
||||
$return_value = @mysqli_real_connect($link, $GLOBALS['cfg']['Server']['host'], $user, '', false, $server_port, $server_socket, $client_flags);
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user