fix coverity issue of transaction
This commit is contained in:
parent
a290fc4604
commit
e4bfc6dcfa
@ -63,7 +63,7 @@ public:
|
||||
int handle_message(const ObTransMsg& msg);
|
||||
bool is_inited() const;
|
||||
int handle_timeout(const int64_t delay);
|
||||
int commit(const bool is_rollback, sql::ObIEndTransCallback* cb, bool is_readonly, const MonotonicTs commit_time,
|
||||
int commit(const bool is_rollback, sql::ObIEndTransCallback* cb, const bool is_readonly, const MonotonicTs commit_time,
|
||||
const int64_t stmt_expired_time, const ObStmtRollbackInfo& stmt_rollback_info,
|
||||
const common::ObString& app_trace_info, bool& need_convert_to_dist_trans)
|
||||
{
|
||||
|
@ -144,7 +144,7 @@ public:
|
||||
int leader_active(const storage::LeaderActiveArg& arg) override;
|
||||
bool can_be_freezed() const override;
|
||||
int kill_trans(bool& need_convert_to_dist_trans);
|
||||
int commit(const bool is_rollback, sql::ObIEndTransCallback* cb, bool is_readonly, const MonotonicTs commit_time,
|
||||
int commit(const bool is_rollback, sql::ObIEndTransCallback* cb, const bool is_readonly, const MonotonicTs commit_time,
|
||||
const int64_t stmt_expired_time, const ObStmtRollbackInfo& stmt_rollback_info,
|
||||
const common::ObString& app_trace_info, bool& need_convert_to_dist_trans) override;
|
||||
int set_stmt_info(const ObTransStmtInfo& stmt_info);
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
int start_task(const ObTransDesc& trans_desc, const int64_t snapshot_version, const int snapshot_gene_type,
|
||||
const bool need_update_gts);
|
||||
int end_task(const bool is_rollback, const sql::ObPhyPlanType plan_type, const int64_t sql_no);
|
||||
int commit(const bool is_rollback, sql::ObIEndTransCallback* cb, bool is_readonly, const MonotonicTs commit_time,
|
||||
int commit(const bool is_rollback, sql::ObIEndTransCallback* cb, const bool is_readonly, const MonotonicTs commit_time,
|
||||
const int64_t stmt_expired_time, const ObStmtRollbackInfo& stmt_rollback_info, bool& need_convert_to_dist_trans);
|
||||
// @fixme
|
||||
virtual int commit(const bool, sql::ObIEndTransCallback*, bool, const MonotonicTs, const int64_t,
|
||||
|
Loading…
x
Reference in New Issue
Block a user