cache last null columns feature
This commit is contained in:
parent
7cacd403d5
commit
913eb1c719
|
@ -794,6 +794,13 @@ static void tsdbFreeTable(STable *pTable) {
|
||||||
tSkipListDestroy(pTable->pIndex);
|
tSkipListDestroy(pTable->pIndex);
|
||||||
taosTZfree(pTable->lastRow);
|
taosTZfree(pTable->lastRow);
|
||||||
tfree(pTable->sql);
|
tfree(pTable->sql);
|
||||||
|
|
||||||
|
for (int i = 0; i < pTable->lastColNum; ++i) {
|
||||||
|
if (pTable->lastCols[i].pData == NULL) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
free(pTable->lastCols[i].pData);
|
||||||
|
}
|
||||||
free(pTable);
|
free(pTable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue