fix(shell): add affected rows in result
This commit is contained in:
parent
d36bfa25ed
commit
39c37e0e11
|
@ -226,7 +226,7 @@ void shellRunSingleCommandImp(char *command) {
|
||||||
int32_t num_rows_affacted = taos_affected_rows(pSql);
|
int32_t num_rows_affacted = taos_affected_rows(pSql);
|
||||||
taos_free_result(pSql);
|
taos_free_result(pSql);
|
||||||
et = taosGetTimestampUs();
|
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
|
// call auto tab
|
||||||
callbackAutoTab(command, NULL, false);
|
callbackAutoTab(command, NULL, false);
|
||||||
|
|
Loading…
Reference in New Issue