提交 af59bee0 编写于 作者: S slguan

Fix the issue #149, SParsedDataColInfo not initialized

上级 52e2364d
......@@ -886,9 +886,10 @@ int tsParseInsertStatement(SSqlCmd* pCmd, char* str, char* acct, char* db, SSqlO
goto _error_clean;
}
SParsedDataColInfo spd = {
pMeterMeta->numOfColumns, 0, {{0}}, {0},
};
SParsedDataColInfo spd = {0};
spd.ordered = true;
spd.prevTimestamp = INT64_MIN;
spd.numOfCols = pMeterMeta->numOfColumns;
int16_t offset[TSDB_MAX_COLUMNS] = {0};
for (int32_t t = 1; t < pMeterMeta->numOfColumns; ++t) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册