modify DescribeIndex bug

Former-commit-id: 284bf1fc830ace11385fc96790eb9d525541295e
pull/191/head
Yu Kun 2019-08-24 20:00:25 +08:00
parent f44b007cc8
commit c8b31c16a6
1 changed files with 1 additions and 1 deletions

View File

@ -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");
} }