未验证 提交 9704db4c 编写于 作者: W Wang XiangYu 提交者: GitHub

fix compile error (#3094)

Signed-off-by: Nwxyu <xy.wang@zilliz.com>
上级 4e143775
......@@ -138,7 +138,7 @@ DeleteSnapshotIndex(const std::string& collection_name, const std::string& field
if (element->GetFtype() == engine::FieldElementType::FET_INDEX ||
element->GetFtype() == engine::FieldElementType::FET_COMPRESS_SQ8) {
snapshot::OperationContext context;
context.stale_field_element = element;
context.stale_field_elements.push_back(element);
auto op = std::make_shared<snapshot::DropAllIndexOperation>(context, ss);
STATUS_CHECK(op->Push());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册