From 9c5f8165ccb4523ff8f8f876b182be2166193fe6 Mon Sep 17 00:00:00 2001 From: facetosea <285808407@qq.com> Date: Tue, 24 Oct 2023 16:02:24 +0800 Subject: [PATCH] print uint64 --- tools/shell/src/shellEngine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/shell/src/shellEngine.c b/tools/shell/src/shellEngine.c index f911637cc3..ec7bb26563 100644 --- a/tools/shell/src/shellEngine.c +++ b/tools/shell/src/shellEngine.c @@ -781,7 +781,7 @@ void shellVerticalPrintResult(TAOS_RES *tres, tsDumpInfo *dump_info) { if (numOfPintRows == dump_info->resShowMaxNum) { printf("\r\n"); - printf(" Notice: The result shows only the first %d rows.\r\n", dump_info->resShowMaxNum); + printf(" Notice: The result shows only the first %ld rows.\r\n", dump_info->resShowMaxNum); printf(" You can use the `LIMIT` clause to get fewer result to show.\r\n"); printf(" Or use '>>' to redirect the whole set of the result to a specified file.\r\n"); printf("\r\n"); @@ -923,7 +923,7 @@ void shellHorizontalPrintResult(TAOS_RES *tres, tsDumpInfo *dump_info) { if (numOfPintRows == dump_info->resShowMaxNum) { printf("\r\n"); - printf(" Notice: The result shows only the first %d rows.\r\n", dump_info->resShowMaxNum); + printf(" Notice: The result shows only the first %ld rows.\r\n", dump_info->resShowMaxNum); if (shellIsShowQuery(dump_info->sql)) { printf(" You can use '>>' to redirect the whole set of the result to a specified file.\r\n"); } else {