[TD-2402]<fix>: set rows <- 1 constantly when update http sql return success
This commit is contained in:
parent
90a60201dd
commit
36049236c7
|
@ -35,7 +35,7 @@ void restBuildSqlAffectRowsJson(HttpContext *pContext, HttpSqlCmd *cmd, int32_t
|
|||
// data row array end
|
||||
httpJsonToken(jsonBuf, JsonArrEnd);
|
||||
|
||||
cmd->numOfRows = affect_rows;
|
||||
cmd->numOfRows = 1;
|
||||
}
|
||||
|
||||
void restStartSqlJson(HttpContext *pContext, HttpSqlCmd *cmd, TAOS_RES *result) {
|
||||
|
|
Loading…
Reference in New Issue