[to #53465378] fix CURRENT_USER inside DEFINER routines

This commit is contained in:
0xacc
2024-02-07 10:52:37 +00:00
committed by ob-robot
parent c1d41adad4
commit ccfaab4833
2 changed files with 40 additions and 3 deletions

View File

@ -1185,7 +1185,7 @@ public:
void set_prelock(bool prelock) { prelock_ = prelock; }
void set_priv_user_id(uint64_t priv_user_id) { priv_user_id_ = priv_user_id; }
uint64_t get_priv_user_id() {
uint64_t get_priv_user_id() const {
return (priv_user_id_ == OB_INVALID_ID) ? get_user_id() : priv_user_id_; }
int64_t get_xa_end_timeout_seconds() const;
int set_xa_end_timeout_seconds(int64_t seconds);