Loading sharding-jdbc-core/src/main/java/io/shardingjdbc/core/parsing/lexer/dialect/mysql/MySQLKeyword.java +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import io.shardingjdbc.core.parsing.lexer.token.Keyword; public enum MySQLKeyword implements Keyword { SHOW, DESCRIBE, DATABASES, TABLES, DUAL, Loading sharding-jdbc-core/src/main/java/io/shardingjdbc/core/parsing/parser/sql/SQLParserFactory.java +2 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,8 @@ public final class SQLParserFactory { } if (tokenType instanceof MySQLKeyword) { switch ((MySQLKeyword) tokenType) { case DESCRIBE: return Optional.of(new MySQLDescParser(shardingRule, lexerEngine)); case SHOW: return Optional.of(new MySQLShowParser(lexerEngine)); default: Loading Loading
sharding-jdbc-core/src/main/java/io/shardingjdbc/core/parsing/lexer/dialect/mysql/MySQLKeyword.java +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import io.shardingjdbc.core.parsing.lexer.token.Keyword; public enum MySQLKeyword implements Keyword { SHOW, DESCRIBE, DATABASES, TABLES, DUAL, Loading
sharding-jdbc-core/src/main/java/io/shardingjdbc/core/parsing/parser/sql/SQLParserFactory.java +2 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,8 @@ public final class SQLParserFactory { } if (tokenType instanceof MySQLKeyword) { switch ((MySQLKeyword) tokenType) { case DESCRIBE: return Optional.of(new MySQLDescParser(shardingRule, lexerEngine)); case SHOW: return Optional.of(new MySQLShowParser(lexerEngine)); default: Loading