fix unique index print error log when unique violated

This commit is contained in:
YoungYang0820 2022-03-03 10:22:29 +08:00 committed by LINxiansheng
parent 9324f96e5f
commit 42bdc0f45d

View File

@ -7364,6 +7364,7 @@ int ObPartitionStorage::append_local_sort_data(const share::ObBuildIndexAppendLo
pg_key,
file_handle))) {
STORAGE_LOG(WARN, "Fail to init data store desc, ", K(ret));
} else if (FALSE_IT(data_desc.is_unique_index_ = index_schema->is_unique_index())) {
} else if (OB_FAIL(writer.open(data_desc, ObMacroDataSeq((INT64_MAX / param.task_cnt_) * param.task_id_)))) {
STORAGE_LOG(WARN, "Fail to open macro block writer, ", K(ret));
} else {