提交 24565c34 编写于 作者: H hjxilinx

fix bug #614

上级 b2bbcd80
......@@ -1192,6 +1192,10 @@ static int tscInsertDataFromFile(SSqlObj *pSql, FILE *fp) {
char *lineptr = line;
strtolower(line, line);
if (numOfRows >= maxRows || pTableDataBlock->size + pMeterMeta->rowSize >= pTableDataBlock->nAllocSize) {
maxRows += tscAllocateMemIfNeed(pTableDataBlock, pMeterMeta->rowSize);
}
len = tsParseOneRowData(&lineptr, pTableDataBlock, pSchema, &spd, pCmd->payload, pMeterMeta->precision);
if (len <= 0) return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册