[bp2] batch patch code from 31x to opensource

This commit is contained in:
raywill
2021-07-29 16:30:15 +08:00
committed by wangzelin.wzl
parent 1f8ee09135
commit 79131c0cda
40 changed files with 549 additions and 300 deletions

View File

@ -414,7 +414,7 @@ int ObUpdateLogPlan::allocate_pdml_update_as_top(ObLogicalOperator*& top)
} else {
const ObTableAssignment& assign = one_table_assignment->at(0);
const IndexDMLInfo& dml_info = update_stmt->get_all_table_columns().at(0).index_dml_infos_.at(idx);
if (assign.is_update_part_key_) {
if (assign.is_update_part_key_ || assign.is_update_unique_key_) {
LOG_TRACE("partition key updated, gen delete-insert as raw plan", K(assign));
int64_t binlog_row_image = share::ObBinlogRowImage::FULL;