bugfix: create global index hung

This commit is contained in:
obdev 2021-07-09 15:48:00 +08:00 committed by wangzelin.wzl
parent 0d7180c6c4
commit 701367dbff

View File

@ -1619,7 +1619,7 @@ int ObTableLocation::calculate_partition_id_by_row(
if (OB_FAIL(calculate_partition_ids_by_row(exec_ctx, part_mgr, row, part_ids, part_idx))) {
LOG_WARN("calculate partition ids by row failed", K(ret));
} else if (OB_UNLIKELY(part_ids.count() != 1) && OB_UNLIKELY(part_idx != 0)) {
ret = OB_ERR_UNEXPECTED;
ret = OB_NO_PARTITION_FOR_GIVEN_VALUE;
LOG_WARN("part ids is invalid", K(part_ids), K(part_idx));
} else {
part_id = part_ids.at(0);