Add a bare grant to the list of allowed privileges

reviewable/pr18780/r1
Toshio Kuratomi 10 years ago
parent 41559311d8
commit 7dd2859f9b

@ -151,13 +151,13 @@ except ImportError:
else: else:
mysqldb_found = True mysqldb_found = True
VALID_PRIVS = frozenset(('CREATE', 'DROP', 'GRANT OPTION', 'LOCK TABLES', VALID_PRIVS = frozenset(('CREATE', 'DROP', 'GRANT', 'GRANT OPTION',
'REFERENCES', 'EVENT', 'ALTER', 'DELETE', 'INDEX', 'LOCK TABLES', 'REFERENCES', 'EVENT', 'ALTER',
'INSERT', 'SELECT', 'UPDATE', 'DELETE', 'INDEX', 'INSERT', 'SELECT', 'UPDATE',
'CREATE TEMPORARY TABLES', 'TRIGGER', 'CREATE VIEW', 'CREATE TEMPORARY TABLES', 'TRIGGER', 'CREATE VIEW',
'SHOW VIEW', 'ALTER ROUTINE', 'CREATE ROUTINE', 'SHOW VIEW', 'ALTER ROUTINE', 'CREATE ROUTINE',
'EXECUTE', 'FILE', 'CREATE USER', 'PROCESS', 'RELOAD', 'EXECUTE', 'FILE', 'CREATE USER', 'PROCESS',
'REPLICATION CLIENT', 'REPLICATION SLAVE', 'RELOAD', 'REPLICATION CLIENT', 'REPLICATION SLAVE',
'SHOW DATABASES', 'SHUTDOWN', 'SUPER', 'ALL', 'SHOW DATABASES', 'SHUTDOWN', 'SUPER', 'ALL',
'ALL PRIVILEGES', 'USAGE',)) 'ALL PRIVILEGES', 'USAGE',))

Loading…
Cancel
Save