Fix for an Issue #356

This commit is contained in:
Miroslav Stampar 2013-01-21 16:46:48 +01:00
parent 1e3f68c7ff
commit 457217f2d3

View File

@ -404,6 +404,10 @@ class Users:
if privilege.upper() == "Y": if privilege.upper() == "Y":
privileges.add(MYSQL_PRIVS[count]) privileges.add(MYSQL_PRIVS[count])
# In Firebird we get one letter for each privilege
elif Backend.isDbms(DBMS.FIREBIRD):
privileges.add(FIREBIRD_PRIVS[privilege.strip()])
# In DB2 we get Y or G if the privilege is # In DB2 we get Y or G if the privilege is
# True, N otherwise # True, N otherwise
elif Backend.isDbms(DBMS.DB2): elif Backend.isDbms(DBMS.DB2):