Merge pull request #17780 from taosdata/feature/3_liaohj

fix(query): set correct error code.
This commit is contained in:
Hui Li 2022-10-31 18:05:48 +08:00 committed by GitHub
commit 5202ccfbba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3050,7 +3050,7 @@ SOperatorInfo* createAggregateOperatorInfo(SOperatorInfo* downstream, SAggPhysiN
}
taosMemoryFreeClear(pOperator);
pTaskInfo->code = TSDB_CODE_OUT_OF_MEMORY;
pTaskInfo->code = code;
return NULL;
}