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;
}

View File

@ -821,7 +821,7 @@ static void destroyTableScanOperatorInfo(void* param) {
taosMemoryFreeClear(param);
}
SOperatorInfo* createTableScanOperatorInfo(STableScanPhysiNode* pTableScanNode, SReadHandle* readHandle,
SOperatorInfo* createTableScanOperatorInfo(STableScanPhysiNode* pTableScanNode, SReadHandle* readHandle,
SExecTaskInfo* pTaskInfo) {
STableScanInfo* pInfo = taosMemoryCalloc(1, sizeof(STableScanInfo));
SOperatorInfo* pOperator = taosMemoryCalloc(1, sizeof(SOperatorInfo));