[CP] [CP] Fix view synonym bug

This commit is contained in:
xianyu-w
2024-02-06 06:12:01 +00:00
committed by ob-robot
parent f959608a49
commit f1c9be6b9f
27 changed files with 48 additions and 54 deletions

View File

@ -1084,7 +1084,7 @@ int ObDelUpdLogPlan::candi_allocate_one_pdml_insert(bool is_index_maintenance,
LOG_WARN("failed to assign sharding conditions", K(ret));
}
}
if (OB_FAIL(calculate_table_location_and_sharding(
if (FAILEDx(calculate_table_location_and_sharding(
*get_stmt(),
sharding_conditions,
index_dml_info->loc_table_id_,
@ -1548,7 +1548,7 @@ int ObDelUpdLogPlan::allocate_pdml_update_as_top(ObLogicalOperator *&top,
LOG_WARN("failed to get view check exprs", K(ret));
}
}
if (OB_FAIL(update_op->compute_property())) {
if (FAILEDx(update_op->compute_property())) {
LOG_WARN("failed to compute property", K(ret));
} else {
top = update_op;