From 2ea71568c77bf3c5adcc481eab57646055f7e5e1 Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Fri, 30 Jun 2023 17:30:24 +0800 Subject: [PATCH] fix information schema case Signed-off-by: Ruihang Xia --- .../standalone/common/system/information_schema.result | 6 ++---- tests/cases/standalone/common/system/information_schema.sql | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) 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;