fix(query): add check for return value.

This commit is contained in:
Haojun Liao 2022-10-28 17:23:43 +08:00
parent 3fe3c3d2b7
commit 8c3b4db944
2 changed files with 1 additions and 2 deletions

View File

@ -1666,7 +1666,6 @@ uint64_t getTotalTables(const STableListInfo* pTableList) {
uint64_t getTableGroupId(const STableListInfo* pTableList, uint64_t tableUid) {
if (pTableList->oneTableForEachGroup) {
ASSERT(pTableList->map == NULL);
return tableUid;
}