Merge pull request #20941 from taosdata/fix/important_fix
fix: an important fix
This commit is contained in:
commit
33753f90ec
|
@ -1259,6 +1259,11 @@ void tBlockDataReset(SBlockData *pBlockData) {
|
||||||
pBlockData->suid = 0;
|
pBlockData->suid = 0;
|
||||||
pBlockData->uid = 0;
|
pBlockData->uid = 0;
|
||||||
pBlockData->nRow = 0;
|
pBlockData->nRow = 0;
|
||||||
|
for (int32_t i = 0; i < pBlockData->nColData; i++) {
|
||||||
|
tColDataDestroy(&pBlockData->aColData[i]);
|
||||||
|
}
|
||||||
|
pBlockData->nColData = 0;
|
||||||
|
taosMemoryFreeClear(pBlockData->aColData);
|
||||||
}
|
}
|
||||||
|
|
||||||
void tBlockDataClear(SBlockData *pBlockData) {
|
void tBlockDataClear(SBlockData *pBlockData) {
|
||||||
|
|
Loading…
Reference in New Issue