Fix wrong merge
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
7411b566f5
commit
ffdba90e9b
@ -287,17 +287,10 @@ if ($user == '@') { // MySQL is started with --skip-grant-tables
|
||||
$GLOBALS['db_to_create'] = '';
|
||||
$GLOBALS['dbs_where_create_table_allowed'] = array('*');
|
||||
$GLOBALS['dbs_to_test'] = false;
|
||||
$GLOBALS['flush_priv'] = true;
|
||||
$GLOBALS['db_priv'] = true;
|
||||
$GLOBALS['col_priv'] = true;
|
||||
$GLOBALS['table_priv'] = true;
|
||||
$GLOBALS['proc_priv'] = true;
|
||||
} else {
|
||||
PMA_analyseShowGrant();
|
||||
|
||||
// Check if privileges to 'mysql'.col_privs, 'mysql'.db,
|
||||
// 'mysql'.table_privs, 'mysql'.proc_privs and privileges for
|
||||
// flushing the privileges are available
|
||||
PMA_checkRequiredPrivilegesForFlushing();
|
||||
PMA_checkRequiredPrivilegesForAdjust();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user