From 7b2ed13fd67146699d39c80c66a7b3c9a68d2f66 Mon Sep 17 00:00:00 2001 From: Dennis Zhuang Date: Fri, 5 Jul 2024 17:08:07 -0700 Subject: [PATCH] chore: style and comment --- src/sql/src/parsers/show_parser.rs | 2 +- src/sql/src/statements/show.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sql/src/parsers/show_parser.rs b/src/sql/src/parsers/show_parser.rs index b372ff5a124b..e2ad31d2b408 100644 --- a/src/sql/src/parsers/show_parser.rs +++ b/src/sql/src/parsers/show_parser.rs @@ -359,7 +359,7 @@ impl<'a> ParserContext<'a> { })); } - // SHOW TABLES [in | FROM] [DATABASE] + // SHOW TABLE STATUS [in | FROM] [DATABASE] Token::Word(w) => match w.keyword { Keyword::IN | Keyword::FROM => self.parse_db_name()?, diff --git a/src/sql/src/statements/show.rs b/src/sql/src/statements/show.rs index 688c259b703a..0ab972e5efb9 100644 --- a/src/sql/src/statements/show.rs +++ b/src/sql/src/statements/show.rs @@ -38,7 +38,7 @@ impl Display for ShowKind { } macro_rules! format_kind { - ($self: expr,$f: expr) => { + ($self: expr, $f: expr) => { if $self.kind != ShowKind::All { write!($f, " {}", &$self.kind)?; }