From db47dbbd8d932253f0f6b0d9194efc3716757bfd Mon Sep 17 00:00:00 2001 From: starlord Date: Mon, 26 Aug 2019 10:48:32 +0800 Subject: [PATCH] fix typo Former-commit-id: 14737e066a87aa85fdb9866123d6e0a126893f61 --- 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 2806bf63..a06c391c 100644 --- a/cpp/src/db/meta/SqliteMetaImpl.cpp +++ b/cpp/src/db/meta/SqliteMetaImpl.cpp @@ -420,7 +420,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<3>(groups[0]); + index.metric_type_ = std::get<2>(groups[0]); } else { return Status::NotFound("Table " + table_id + " not found"); } -- GitLab