[TD-5694]<fix>: fix

This commit is contained in:
Liu Jicong 2021-08-04 01:02:00 +08:00
parent 42db901a22
commit cc451f1fbc
1 changed files with 1 additions and 0 deletions

View File

@ -375,6 +375,7 @@ int tdInitDataCols(SDataCols *pCols, STSchema *pSchema) {
for (i = 0; i < schemaNCols(pSchema); i++) {
dataColInit(pCols->cols + i, schemaColAt(pSchema, i), pCols->maxPoints);
pCols->cols[i].spaceSize = 0;
tdAllocMemForCol(pCols->cols + i, pCols->maxPoints);
}