fix(shell): add affected rows in result

This commit is contained in:
Alex Duan 2022-10-26 14:54:50 +08:00
parent d36bfa25ed
commit 39c37e0e11
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ void shellRunSingleCommandImp(char *command) {
int32_t num_rows_affacted = taos_affected_rows(pSql);
taos_free_result(pSql);
et = taosGetTimestampUs();
printf("Query OK, %d of %d row(s) in set (%.6fs)\r\n", num_rows_affacted, num_rows_affacted, (et - st) / 1E6);
printf("Query OK, %d row(s) affected in set (%.6fs)\r\n", num_rows_affacted, (et - st) / 1E6);
// call auto tab
callbackAutoTab(command, NULL, false);