[TD-2402]<fix>: set rows <- 1 constantly when update http sql return success

This commit is contained in:
Minglei Jin 2021-02-01 15:57:50 +08:00
parent 90a60201dd
commit 36049236c7
1 changed files with 1 additions and 1 deletions

View File

@ -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) {