[TD-225]fix the incorrect affected_rows if the first efforts for insert data failed.

This commit is contained in:
Haojun Liao 2020-12-16 14:25:47 +08:00
parent 625681aa65
commit 89d490ad58
1 changed files with 0 additions and 1 deletions

View File

@ -1292,7 +1292,6 @@ int tsInsertInitialCheck(SSqlObj *pSql) {
pCmd->count = 0;
pCmd->command = TSDB_SQL_INSERT;
pSql->res.numOfRows = 0;
SQueryInfo *pQueryInfo = tscGetQueryInfoDetailSafely(pCmd, pCmd->clauseIndex);