fix the savepoint cannot be obtained due to session changes in the proxy scenario

This commit is contained in:
obdev
2023-03-02 17:39:13 +00:00
committed by ob-robot
parent 18d5e039d2
commit f0cbd4582a
2 changed files with 9 additions and 3 deletions

View File

@ -251,6 +251,7 @@ private:
static int start_hook_if_need_(ObSQLSessionInfo &session,
transaction::ObTransService *txs,
bool &start_hook);
static uint32_t get_real_session_id(ObSQLSessionInfo &session);
public:
/*
* create a savepoint without name