fix(query): add check for return value.
This commit is contained in:
parent
3fe3c3d2b7
commit
8c3b4db944
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue