cache last null columns feature

This commit is contained in:
lichuang 2021-05-08 17:08:29 +08:00
parent 7cacd403d5
commit 913eb1c719
1 changed files with 7 additions and 0 deletions

View File

@ -794,6 +794,13 @@ static void tsdbFreeTable(STable *pTable) {
tSkipListDestroy(pTable->pIndex);
taosTZfree(pTable->lastRow);
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);
}
}