feat: Allow sql parser to parse show-create-table statement (#347)

* feat: Add ShowCreateTable to Statement

* feat: Add ShowCreateTable to Statement

* feat: Add ShowCreateTable to Statement

* feat: Add ShowCreateTable to Statement

* feat: Add ShowCreateTable to Statement

* feat: Add ShowCreateTable to Statement

* feat: Add ShowCreateTable to Statement

* feat: Add ShowCreateTable to Statement

* feat: Add ShowCreateTable to Statement
This commit is contained in:
Sheng hui
2022-11-08 16:35:56 +08:00
committed by GitHub
parent a2f9b788f1
commit cff8fe4e0e
6 changed files with 76 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ where
Statement::Query(qb) => self.query_to_plan(qb),
Statement::ShowTables(_)
| Statement::ShowDatabases(_)
| Statement::ShowCreateTable(_)
| Statement::Create(_)
| Statement::Alter(_)
| Statement::Insert(_) => unreachable!(),