[BUG] prevent multiple update error on one row for duplicate update

This commit is contained in:
Handora
2023-04-26 15:16:31 +00:00
committed by ob-robot
parent 3efcefc29e
commit 9ff3425602
5 changed files with 30 additions and 1 deletions

View File

@ -1112,6 +1112,9 @@ int ObDMLService::init_dml_param(const ObDASDMLBaseCtDef &base_ctdef,
if (base_ctdef.is_batch_stmt_) {
dml_param.write_flag_.set_is_dml_batch_opt();
}
if (base_ctdef.is_insert_up_) {
dml_param.write_flag_.set_is_insert_up();
}
return ret;
}