mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
fixed bug in references column grants
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
This commit is contained in:
parent
aee336f42d
commit
09c7b48d43
2 changed files with 3 additions and 2 deletions
|
@ -84,6 +84,7 @@ sasha@mysql.sashanet.com
|
|||
serg@build.mysql2.com
|
||||
serg@serg.mylan
|
||||
serg@serg.mysql.com
|
||||
serg@sergbook.mylan
|
||||
serg@sergbook.mysql.com
|
||||
sinisa@rhols221.adsl.netsonic.fi
|
||||
tfr@beta.frontier86.ee
|
||||
|
|
|
@ -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) & COL_ACLS) | ((A & ~COL_ACLS) << 7))
|
||||
#define get_rights_for_column(A) (((A) & COL_ACLS) | ((A & ~COL_ACLS) >> 7))
|
||||
#define fix_rights_for_column(A) (((A) & 7) | (((A) & ~7) << 7))
|
||||
#define get_rights_for_column(A) (((A) & 7) | (((A) & ~7) >> 7))
|
||||
|
||||
/* prototypes */
|
||||
|
||||
|
|
Loading…
Reference in a new issue