(&mut self)
| 8253 | } |
| 8254 | |
| 8255 | fn parse_show_columns(&mut self) -> Result<ShowStatement<Raw>, ParserError> { |
| 8256 | self.expect_one_of_keywords(&[FROM, IN])?; |
| 8257 | let table_name = self.parse_raw_name()?; |
| 8258 | // MySQL also supports FROM <database> here. In other words, MySQL |
| 8259 | // allows both FROM <table> FROM <database> and FROM <database>.<table>, |
| 8260 | // while we only support the latter for now. |
| 8261 | let filter = self.parse_show_statement_filter()?; |
| 8262 | Ok(ShowStatement::ShowColumns(ShowColumnsStatement { |
| 8263 | table_name, |
| 8264 | filter, |
| 8265 | })) |
| 8266 | } |
| 8267 | |
| 8268 | fn parse_show_statement_filter( |
| 8269 | &mut self, |
no test coverage detected