Merge branch 'QA_4_6' of https://github.com/phpmyadmin/phpmyadmin into QA_4_6
Conflicts: ChangeLog
This commit is contained in:
commit
43d1b53d76
@ -9,6 +9,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #12699 Show no local storage warning only on settings tab
|
||||
- issue #12765 Fixed SQL export with newlines
|
||||
- issue #12778 Syntax Error in Adding/Changing TIMESTAMP columns with default value as NULL
|
||||
- issue #12769 Edit/Export links are not clickable under Routines tab
|
||||
|
||||
4.6.5.1 (2016-11-25)
|
||||
- issue #12735 Incorrect parameters to escapeString in Node.php
|
||||
|
||||
@ -2135,7 +2135,7 @@ class DatabaseInterface
|
||||
if (Util::cacheExists('mysql_cur_user')) {
|
||||
return Util::cacheGet('mysql_cur_user');
|
||||
}
|
||||
$user = $GLOBALS['dbi']->fetchValue('SELECT USER();');
|
||||
$user = $GLOBALS['dbi']->fetchValue('SELECT CURRENT_USER();');
|
||||
if ($user !== false) {
|
||||
Util::cacheSet('mysql_cur_user', $user);
|
||||
return Util::cacheGet('mysql_cur_user');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user