Skip to content

Commit

Permalink
chore: style and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
killme2008 committed Jul 6, 2024
1 parent 2ac189c commit 7b2ed13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sql/src/parsers/show_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?,

Expand Down
2 changes: 1 addition & 1 deletion src/sql/src/statements/show.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
}
Expand Down

0 comments on commit 7b2ed13

Please sign in to comment.