chore: style and comment

This commit is contained in:
Dennis Zhuang
2024-07-05 17:08:07 -07:00
parent 14bb2ef96f
commit 9b9602b3f6
2 changed files with 2 additions and 2 deletions

View File

@@ -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()?,

View File

@@ -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)?;
}