From 5bcb5d2ce5c08e114d03168bdc6c3092c2bfbc50 Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Fri, 30 Jun 2023 20:01:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20break=20CI=20again=20=F0=9F=A5=B2=20(#18?= =?UTF-8?q?59)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix information schema case Signed-off-by: Ruihang Xia * disable -Wunused_result lint Signed-off-by: Ruihang Xia --------- Signed-off-by: Ruihang Xia --- .cargo/config.toml | 1 - .../standalone/common/system/information_schema.result | 6 ++---- tests/cases/standalone/common/system/information_schema.sql | 6 ++---- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 77736304c643..bf125a3eda47 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -13,5 +13,4 @@ rustflags = [ "-Wclippy::print_stderr", "-Wclippy::implicit_clone", "-Aclippy::items_after_test_module", - "-Wunused_results", ] diff --git a/tests/cases/standalone/common/system/information_schema.result b/tests/cases/standalone/common/system/information_schema.result index de07ebe37cca..826fbbc77279 100644 --- a/tests/cases/standalone/common/system/information_schema.result +++ b/tests/cases/standalone/common/system/information_schema.result @@ -3,8 +3,7 @@ database my_db; Affected Rows: 1 -use -my_db; +use my_db; ++ ++ @@ -51,8 +50,7 @@ order by table_schema, table_name; | greptime | my_db | foo | ts | Int64 | TIME INDEX | +---------------+--------------+------------+-------------+-----------+---------------+ -use -public; +use public; ++ ++ diff --git a/tests/cases/standalone/common/system/information_schema.sql b/tests/cases/standalone/common/system/information_schema.sql index c033cad8b6d1..4987bb053dbb 100644 --- a/tests/cases/standalone/common/system/information_schema.sql +++ b/tests/cases/standalone/common/system/information_schema.sql @@ -1,8 +1,7 @@ create database my_db; -use -my_db; +use my_db; create table foo ( @@ -26,5 +25,4 @@ where table_catalog = 'greptime' and table_schema != 'public' order by table_schema, table_name; -use -public; +use public;