From 0883b47657ab5a4574d464992110efbfc454f00a Mon Sep 17 00:00:00 2001 From: Yu Kun Date: Sat, 24 Aug 2019 20:00:25 +0800 Subject: [PATCH] modify DescribeIndex bug Former-commit-id: bc18b215b216a3905dfed421500b5a94b3bc2048 --- cpp/src/db/meta/SqliteMetaImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/db/meta/SqliteMetaImpl.cpp b/cpp/src/db/meta/SqliteMetaImpl.cpp index d0d64236..99487c1b 100644 --- a/cpp/src/db/meta/SqliteMetaImpl.cpp +++ b/cpp/src/db/meta/SqliteMetaImpl.cpp @@ -421,7 +421,7 @@ Status SqliteMetaImpl::DescribeTableIndex(const std::string &table_id, TableInde if (groups.size() == 1) { index.engine_type_ = std::get<0>(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 { return Status::NotFound("Table " + table_id + " not found"); } -- GitLab