add dml data strict defensive check

This commit is contained in:
leslieyuchen
2021-11-29 14:57:40 +08:00
committed by LINxiansheng
parent bd258f9338
commit f0e34e03f6
42 changed files with 1475 additions and 576 deletions

View File

@ -263,9 +263,9 @@ int ObTableUpdate::get_next_row(ObExecContext& ctx, const ObNewRow*& row) const
}
}
if (OB_SUCC(ret) && !from_multi_table_dml()) {
ObNewRow& old_row = update_ctx->old_row_;
ObNewRow& new_row = update_ctx->new_row_;
OZ(check_row_null(ctx, new_row, column_infos_), new_row);
ObNewRow &old_row = update_ctx->old_row_;
ObNewRow &new_row = update_ctx->new_row_;
OZ(check_row_null(ctx, new_row, column_infos_, updated_column_infos_), new_row);
}
}
if (OB_SUCC(ret)) {