[td-225]
This commit is contained in:
parent
aea35d6b23
commit
3c27860216
|
@ -405,8 +405,6 @@ static SWindowResult *doSetTimeWindowFromKey(SQueryRuntimeEnv *pRuntimeEnv, SWin
|
||||||
newCap = pWindowResInfo->capacity * 1.5;
|
newCap = pWindowResInfo->capacity * 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("%ld\n", newCap);
|
|
||||||
|
|
||||||
char *t = realloc(pWindowResInfo->pResult, newCap * sizeof(SWindowResult));
|
char *t = realloc(pWindowResInfo->pResult, newCap * sizeof(SWindowResult));
|
||||||
pRuntimeEnv->summary.internalSupSize += (newCap - pWindowResInfo->capacity) * sizeof(SWindowResult);
|
pRuntimeEnv->summary.internalSupSize += (newCap - pWindowResInfo->capacity) * sizeof(SWindowResult);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue