提交 0883b476 编写于 作者: Y Yu Kun

modify DescribeIndex bug


Former-commit-id: bc18b215b216a3905dfed421500b5a94b3bc2048
上级 23094d26
...@@ -421,7 +421,7 @@ Status SqliteMetaImpl::DescribeTableIndex(const std::string &table_id, TableInde ...@@ -421,7 +421,7 @@ Status SqliteMetaImpl::DescribeTableIndex(const std::string &table_id, TableInde
if (groups.size() == 1) { if (groups.size() == 1) {
index.engine_type_ = std::get<0>(groups[0]); index.engine_type_ = std::get<0>(groups[0]);
index.nlist_ = std::get<1>(groups[0]); index.nlist_ = std::get<1>(groups[0]);
index.metric_type_ = std::get<2>(groups[0]); index.metric_type_ = std::get<3>(groups[0]);
} else { } else {
return Status::NotFound("Table " + table_id + " not found"); return Status::NotFound("Table " + table_id + " not found");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册