[FEAT MERGE] transaction pdml support optimization
Co-authored-by: yyy-hust <yyy.hust@gmail.com> Co-authored-by: SanmuWangZJU <sanmuwang.ws@gmail.com>
This commit is contained in:
committed by
ant-ob-hengtang
parent
eaa353f503
commit
438a70b2b8
@ -1141,6 +1141,7 @@ int ObDMLService::delete_row(const ObDASDelCtDef &das_del_ctdef,
|
||||
int ObDMLService::init_dml_param(const ObDASDMLBaseCtDef &base_ctdef,
|
||||
ObDASDMLBaseRtDef &base_rtdef,
|
||||
transaction::ObTxReadSnapshot &snapshot,
|
||||
const int16_t write_branch_id,
|
||||
ObIAllocator &das_alloc,
|
||||
storage::ObDMLBaseParam &dml_param)
|
||||
{
|
||||
@ -1157,6 +1158,7 @@ int ObDMLService::init_dml_param(const ObDASDMLBaseCtDef &base_ctdef,
|
||||
dml_param.is_batch_stmt_ = base_ctdef.is_batch_stmt_;
|
||||
dml_param.dml_allocator_ = &das_alloc;
|
||||
dml_param.snapshot_ = snapshot;
|
||||
dml_param.branch_id_ = write_branch_id;
|
||||
if (base_ctdef.is_batch_stmt_) {
|
||||
dml_param.write_flag_.set_is_dml_batch_opt();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user