[TD-225]fix the incorrect affected_rows if the first efforts for insert data failed.
This commit is contained in:
parent
625681aa65
commit
89d490ad58
|
@ -1292,7 +1292,6 @@ int tsInsertInitialCheck(SSqlObj *pSql) {
|
||||||
|
|
||||||
pCmd->count = 0;
|
pCmd->count = 0;
|
||||||
pCmd->command = TSDB_SQL_INSERT;
|
pCmd->command = TSDB_SQL_INSERT;
|
||||||
pSql->res.numOfRows = 0;
|
|
||||||
|
|
||||||
SQueryInfo *pQueryInfo = tscGetQueryInfoDetailSafely(pCmd, pCmd->clauseIndex);
|
SQueryInfo *pQueryInfo = tscGetQueryInfoDetailSafely(pCmd, pCmd->clauseIndex);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue