未验证 提交 e267bd2c 编写于 作者: Y yukun 提交者: GitHub

CreateHybridIndex.cpp compile error (#2583)

Signed-off-by: Nfishpenguin <kun.yu@zilliz.com>
上级 c131fbe3
......@@ -7,6 +7,7 @@ Please mark all changes in change log and use the issue from GitHub
## Bug
- \#2487 Remove timeout when creating collection in dev test
- \#2551 Fix test_hybrid_db and test_rpc error
- \#2582 CreateHybridIndex.cpp compile error
## Feature
- \#2319 Redo metadata to support MVCC
......
......@@ -13,9 +13,9 @@
#include "config/Config.h"
#include "db/Utils.h"
#include "server/DBWrapper.h"
#include "server/ValidationUtil.h"
#include "utils/Log.h"
#include "utils/TimeRecorder.h"
#include "utils/ValidationUtil.h"
#include <fiu-local.h>
#include <memory>
......@@ -50,7 +50,7 @@ CreateHybridIndexRequest::OnExecute() {
TimeRecorderAuto rc(hdr);
// step 1: check arguments
auto status = ValidationUtil::ValidateCollectionName(collection_name_);
auto status = ValidateCollectionName(collection_name_);
if (!status.ok()) {
return status;
}
......@@ -87,12 +87,12 @@ CreateHybridIndexRequest::OnExecute() {
index_type = (int32_t)engine::s_map_engine_type.at(index_type_str);
}
status = ValidationUtil::ValidateCollectionIndexType(index_type);
status = ValidateCollectionIndexType(index_type);
if (!status.ok()) {
return status;
}
status = ValidationUtil::ValidateIndexParams(extra_params_, collection_schema, index_type);
status = ValidateIndexParams(extra_params_, collection_schema, index_type);
if (!status.ok()) {
return status;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册