diff --git a/src/client/src/tscParseLineProtocol.c b/src/client/src/tscParseLineProtocol.c index 03dd51caa8c804f5c615ba98018e4a9c94e0b007..567f05a44d6782b5e355592a65db897a0efe39ae 100644 --- a/src/client/src/tscParseLineProtocol.c +++ b/src/client/src/tscParseLineProtocol.c @@ -1892,11 +1892,8 @@ int taos_insert_lines(TAOS* taos, char* lines[], int numLines) { cleanup: tscDebug("taos_insert_lines finish inserting %d lines. code: %d", numLines, code); - numPoints = taosArrayGetSize(lpPoints); - TAOS_SML_DATA_POINT* ppoints = TARRAY_GET_START(lpPoints); - for (int i=0; i