fix: grammar of init on windows

This commit is contained in:
kailixu 2024-02-26 08:51:06 +08:00
parent 9cd6da76d9
commit bc456e6183
1 changed files with 2 additions and 1 deletions

View File

@ -418,7 +418,8 @@ static void checkTSRow(const char **data, STSRow *row, STSchema *pTSchema) {
checkSColVal(data[i], &cv, pTSchema->columns[i].type);
}
STSRowIter rowIter = {.pSchema = pTSchema};
STSRowIter rowIter = {0};
rowIter.pSchema = pTSchema;
tdSTSRowIterReset(&rowIter, row);
for (int32_t i = 0; i < pTSchema->numOfCols; ++i) {
STColumn *pCol = pTSchema->columns + i;