fix insert partition wise plan bug

This commit is contained in:
zzg19950727
2024-03-06 04:44:58 +00:00
committed by ob-robot
parent 7b3bee5a2e
commit 8474eace9f
3 changed files with 8 additions and 4 deletions

View File

@ -188,7 +188,7 @@ int ObLogInsert::compute_sharding_info()
ret = OB_ERR_UNEXPECTED;
LOG_WARN("get unexpected null", K(ret));
} else if (NULL != get_sharding()) {
is_partition_wise_ = true;
//do nothing
} else if (is_multi_part_dml()) {
strong_sharding_ = get_plan()->get_optimizer_context().get_local_sharding();
} else if (OB_FAIL(ObLogDelUpd::compute_sharding_info())) {