diff options
author | serg@sergbook.mylan <> | 2003-06-23 12:48:55 +0200 |
---|---|---|
committer | serg@sergbook.mylan <> | 2003-06-23 12:48:55 +0200 |
commit | c6d9d57b37581cebdeacef29e8823947d40cc757 (patch) | |
tree | f9d192454e96b682cabf9c8c78d6e213952992d9 /sql/sql_acl.h | |
parent | b8cc47797a4d8ae8c129e372fe5bd0789f8b5441 (diff) | |
download | mariadb-git-c6d9d57b37581cebdeacef29e8823947d40cc757.tar.gz |
fixed bug in references column grants
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index 1d074fe6001..f3fdf950a12 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -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 */ |