[4.1][4.2] refine set autocommit in dblink trans

This commit is contained in:
jw-guo
2023-08-14 08:18:44 +00:00
committed by ob-robot
parent 3a6bc5bba3
commit 2defdd7296
3 changed files with 70 additions and 11 deletions

View File

@ -715,6 +715,7 @@ public:
}
}
void set_restore_auto_commit() { restore_auto_commit_ = true; }
bool need_restore_auto_commit() const { return restore_auto_commit_; }
void reset_show_warnings_buf() { show_warnings_buf_.reset(); }
ObPrivSet get_user_priv_set() const { return user_priv_set_; }
ObPrivSet get_db_priv_set() const { return db_priv_set_; }