feat(shell): affected rows int64

This commit is contained in:
Alex Duan 2022-12-02 17:15:51 +08:00
parent 0f0e575481
commit 83a4f76ece
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ void shellRunSingleCommandImp(char *command) {
int64_t num_rows_affacted = taos_affected_rows64(pSql); int64_t num_rows_affacted = taos_affected_rows64(pSql);
taos_free_result(pSql); taos_free_result(pSql);
et = taosGetTimestampUs(); et = taosGetTimestampUs();
printf("%s, %" PRId64 " row(s) affected (%.6fs)\r\n", num_rows_affacted, (et - st) / 1E6); printf("%s, %" PRId64 " row(s) affected (%.6fs)\r\n", pre, num_rows_affacted, (et - st) / 1E6);
// call auto tab // call auto tab
callbackAutoTab(command, NULL, false); callbackAutoTab(command, NULL, false);