提交 83a4f76e 编写于 作者: A Alex Duan

feat(shell): affected rows int64

上级 0f0e5754
...@@ -244,7 +244,7 @@ void shellRunSingleCommandImp(char *command) { ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册