Merge pull request #27247 from taosdata/fix/TD-31471

fix: group cache log issue
This commit is contained in:
dapan1121 2024-08-15 17:25:22 +08:00 committed by GitHub
commit a2399a6060
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ static int32_t initGroupColsInfo(SGroupColsInfo* pCols, bool grpColsMayBeNull, S
} }
static void logGroupCacheExecInfo(SGroupCacheOperatorInfo* pGrpCacheOperator) { static void logGroupCacheExecInfo(SGroupCacheOperatorInfo* pGrpCacheOperator) {
if (pGrpCacheOperator->downstreamNum <= 0 || NULL == pGrpCacheOperator->execInfo.pDownstreamBlkNum) {
return;
}
char* buf = taosMemoryMalloc(pGrpCacheOperator->downstreamNum * 32 + 100); char* buf = taosMemoryMalloc(pGrpCacheOperator->downstreamNum * 32 + 100);
if (NULL == buf) { if (NULL == buf) {
return; return;