mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
SHOW GRANTS hided real grants when grants on both column and table (Bug 654)
This commit is contained in:
@@ -76,8 +76,8 @@
|
||||
#define get_rights_for_db(A) (((A) & 63) | (((A) & DB_CHUNK1) >> 4) | (((A) & DB_CHUNK2) >> 6))
|
||||
#define fix_rights_for_table(A) (((A) & 63) | (((A) & ~63) << 4))
|
||||
#define get_rights_for_table(A) (((A) & 63) | (((A) & ~63) >> 4))
|
||||
#define fix_rights_for_column(A) (((A) & 7) | (((A) & ~7) << 7))
|
||||
#define get_rights_for_column(A) (((A) & 7) | (((A) & ~7) >> 7))
|
||||
#define fix_rights_for_column(A) (((A) & 7) | (((A) & ~7) << 8))
|
||||
#define get_rights_for_column(A) (((A) & 7) | ((A) >> 8))
|
||||
|
||||
/* prototypes */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user