Merge pull request #27247 from taosdata/fix/TD-31471
fix: group cache log issue
This commit is contained in:
commit
a2399a6060
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue