placeholder for lock table privilege

This commit is contained in:
obdev
2024-06-26 05:07:09 +00:00
committed by ob-robot
parent 6f37651287
commit d80c469834
2 changed files with 5 additions and 2 deletions

View File

@ -81,6 +81,7 @@ const char *ObPrivMgr::priv_names_[] = {
"CREATE ROLE",
"DROP ROLE",
"TRIGGER",
"LOCK TABLES", // index 45
};
ObPrivMgr::ObPrivMgr()

View File

@ -73,6 +73,7 @@ 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
};
@ -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_