[CP] to issue<58095770>:add return value of set_snapshot interface
This commit is contained in:
@ -1605,7 +1605,7 @@ int ObTableCtx::init_trans(transaction::ObTxDesc *trans_desc,
|
||||
sql::ObSQLSessionInfo &session = get_session_info();
|
||||
sql::ObSQLSessionInfo::LockGuard guard(session.get_thread_data_lock());
|
||||
session.get_tx_desc() = trans_desc;
|
||||
exec_ctx_.get_das_ctx().set_snapshot(tx_snapshot);
|
||||
OZ (exec_ctx_.get_das_ctx().set_snapshot(tx_snapshot));
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user