mirror of https://github.com/milvus-io/milvus.git
parent
773deab62e
commit
84083294c3
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue