Signed-off-by: yhmo <yihua.mo@zilliz.com>
pull/4129/head
groot 2020-10-26 14:06:52 +08:00 committed by GitHub
parent 773deab62e
commit 84083294c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1640,7 +1640,7 @@ MySQLMetaImpl::CountPartitions(const std::string& collection_id, int64_t& partit
} // Scoped Connection
for (auto& resRow : res) {
partition_count = resRow["count"];
partition_count = resRow["count(*)"];
}
} catch (std::exception& e) {
return HandleException("Failed to count partitions", e.what());