bug #3285929 [privileges] Don't fail silently on missing priviledge to execute REVOKE ALL PRIVILEGES
This commit is contained in:
@@ -154,6 +154,7 @@
|
|||||||
- bug #3134495 [synchronization] Data containing single quotes prevents sync,
|
- bug #3134495 [synchronization] Data containing single quotes prevents sync,
|
||||||
thanks to jviewer
|
thanks to jviewer
|
||||||
- Remove the custom color picker feature
|
- Remove the custom color picker feature
|
||||||
|
- bug #3285929 [privileges] Don't fail silently on missing priviledge to execute REVOKE ALL PRIVILEGES
|
||||||
|
|
||||||
3.3.11.0 (not yet released)
|
3.3.11.0 (not yet released)
|
||||||
|
|
||||||
|
@@ -1187,8 +1187,9 @@ if (!empty($update_privs)) {
|
|||||||
}
|
}
|
||||||
$sql_query2 .= ';';
|
$sql_query2 .= ';';
|
||||||
}
|
}
|
||||||
if (! PMA_DBI_try_query($sql_query0)) {
|
if (! PMA_DBI_query($sql_query0)) {
|
||||||
// this query may fail, but this does not matter :o)
|
// 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 = '';
|
$sql_query0 = '';
|
||||||
}
|
}
|
||||||
if (isset($sql_query1) && !PMA_DBI_try_query($sql_query1)) {
|
if (isset($sql_query1) && !PMA_DBI_try_query($sql_query1)) {
|
||||||
|
Reference in New Issue
Block a user