提交 42bdc0f4 编写于 作者: Y YoungYang0820 提交者: LINGuanRen

fix unique index print error log when unique violated

上级 9324f96e
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册