placeholder for lock table privilege
This commit is contained in:
@ -81,6 +81,7 @@ const char *ObPrivMgr::priv_names_[] = {
|
||||
"CREATE ROLE",
|
||||
"DROP ROLE",
|
||||
"TRIGGER",
|
||||
"LOCK TABLES", // index 45
|
||||
};
|
||||
|
||||
ObPrivMgr::ObPrivMgr()
|
||||
|
||||
@ -73,8 +73,9 @@ enum OB_PRIV_SHIFT
|
||||
OB_PRIV_CREATE_ROLE_SHIFT,
|
||||
OB_PRIV_DROP_ROLE_SHIFT,
|
||||
OB_PRIV_TRIGGER_SHIFT,
|
||||
OB_PRIV_LOCK_TABLE_SHIFT = 45,
|
||||
OB_PRIV_MAX_SHIFT_PLUS_ONE,
|
||||
OB_PRIV_MAX_SHIFT_LIMIT = 65
|
||||
OB_PRIV_MAX_SHIFT_LIMIT = 65
|
||||
};
|
||||
|
||||
#define OB_PRIV_MAX_SHIFT (OB_PRIV_MAX_SHIFT_PLUS_ONE - 1)
|
||||
@ -163,7 +164,8 @@ enum OB_PRIV_OTHERS_TYPE
|
||||
OB_PRIV_OTHERS_REFERENCES = (1LL << 6),
|
||||
OB_PRIV_OTHERS_CREATE_ROLE = (1LL << 7),
|
||||
OB_PRIV_OTHERS_DROP_ROLE = (1LL << 8),
|
||||
OB_PRIV_OTHERS_TRIGGER = (1LL << 9)
|
||||
OB_PRIV_OTHERS_TRIGGER = (1LL << 9),
|
||||
OB_PRIV_OTHERS_LOCK_TABLE = (1LL << 10)
|
||||
};
|
||||
|
||||
#endif //ifndef OCEABASE_SHARE_SCHEMA_OB_PRIV_TYPE_H_
|
||||
|
||||
Reference in New Issue
Block a user