Commit 294230d5 by Michael DeHaan

Merge pull request #3177 from stintel/mysql56-compat

Fix MySQL 5.6 compatibility
parents 936e61fc 767c208e
......@@ -157,6 +157,7 @@ def user_mod(cursor, user, host, password, new_priv):
# the new specification, then revoke all privileges on it.
for db_table, priv in curr_priv.iteritems():
if db_table not in new_priv:
if user != "root" and "PROXY" not in priv:
privileges_revoke(cursor, user,host,db_table)
changed = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment