replace ts related to ddl with scn.

This commit is contained in:
obdev
2022-11-28 02:21:13 +00:00
committed by ob-robot
parent bbec6aff49
commit 8a4d14122f
539 changed files with 17685 additions and 173434 deletions

View File

@ -690,7 +690,9 @@ int ObDelUpdLogPlan::replace_assignment_expr_from_dml_info(const IndexDMLInfo &d
if (OB_ISNULL(assignment.expr_) || OB_ISNULL(assignment.column_expr_)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("get unexpected null", K(ret));
} else if (expr == assignment.column_expr_) {
} else if (expr == assignment.column_expr_
&& OB_NOT_NULL(assignment.expr_)
&& assignment.expr_->get_expr_type() != T_TABLET_AUTOINC_NEXTVAL) {
expr = assignment.expr_;
break;
} else { /*do nothing*/ }