bug #3285929 [privileges] Don't fail silently on missing priviledge to execute REVOKE ALL PRIVILEGES
This commit is contained in:
@@ -1187,8 +1187,9 @@ if (!empty($update_privs)) {
|
||||
}
|
||||
$sql_query2 .= ';';
|
||||
}
|
||||
if (! PMA_DBI_try_query($sql_query0)) {
|
||||
// this query may fail, but this does not matter :o)
|
||||
if (! PMA_DBI_query($sql_query0)) {
|
||||
// This might fail when the executing user does not have ALL PRIVILEGES himself.
|
||||
// See https://sourceforge.net/tracker/index.php?func=detail&aid=3285929&group_id=23067&atid=377408
|
||||
$sql_query0 = '';
|
||||
}
|
||||
if (isset($sql_query1) && !PMA_DBI_try_query($sql_query1)) {
|
||||
|
Reference in New Issue
Block a user