fix(query): fix interp function core dump

TD-18115
This commit is contained in:
Ganlin Zhao 2022-08-03 21:24:47 +08:00
parent e9fc948097
commit 6b6f85e22f
2 changed files with 3 additions and 1 deletions

View File

@ -2375,6 +2375,8 @@ SOperatorInfo* createTimeSliceOperatorInfo(SOperatorInfo* downstream, SPhysiNode
pOperator->fpSet =
createOperatorFpSet(operatorDummyOpenFn, doTimeslice, NULL, NULL, destroyBasicOperatorInfo, NULL, NULL, NULL);
blockDataEnsureCapacity(pInfo->pRes, pOperator->resultInfo.capacity);
code = appendDownstream(pOperator, &downstream, 1);
return pOperator;