[TD-5694]<fix>: fix
This commit is contained in:
parent
42db901a22
commit
cc451f1fbc
|
@ -375,6 +375,7 @@ int tdInitDataCols(SDataCols *pCols, STSchema *pSchema) {
|
||||||
|
|
||||||
for (i = 0; i < schemaNCols(pSchema); i++) {
|
for (i = 0; i < schemaNCols(pSchema); i++) {
|
||||||
dataColInit(pCols->cols + i, schemaColAt(pSchema, i), pCols->maxPoints);
|
dataColInit(pCols->cols + i, schemaColAt(pSchema, i), pCols->maxPoints);
|
||||||
|
pCols->cols[i].spaceSize = 0;
|
||||||
tdAllocMemForCol(pCols->cols + i, pCols->maxPoints);
|
tdAllocMemForCol(pCols->cols + i, pCols->maxPoints);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue