File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ use crate::{
2727
2828use super :: keywords;
2929
30- pub const RESERVED_FOR_TABLE_ALIAS_MYSQL : & [ Keyword ] =
30+ const RESERVED_FOR_TABLE_ALIAS_MYSQL : & [ Keyword ] =
3131 & [ Keyword :: USE , Keyword :: IGNORE , Keyword :: FORCE ] ;
3232
3333/// A [`Dialect`] for [MySQL](https://www.mysql.com/)
@@ -117,9 +117,6 @@ impl Dialect for MySqlDialect {
117117 true
118118 }
119119
120- /// Returns true if the specified keyword should be parsed as a table factor alias.
121- /// When explicit is true, the keyword is preceded by an `AS` word. Parser is provided
122- /// to enable looking ahead if needed.
123120 fn is_table_factor_alias ( & self , explicit : bool , kw : & Keyword , _parser : & mut Parser ) -> bool {
124121 explicit
125122 || ( !keywords:: RESERVED_FOR_TABLE_ALIAS . contains ( kw)
You can’t perform that action at this time.
0 commit comments