This is an automated email from the ASF dual-hosted git repository.
menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 88fba2c Add explain context
new b602ccc Merge pull request #6955 from tristaZero/new1
88fba2c is described below
commit 88fba2c2d5861c51ad3386e2bbaeeb1598552981
Author: tristaZero <[email protected]>
AuthorDate: Thu Aug 20 19:25:36 2020 +0800
Add explain context
---
.../org/apache/shardingsphere/sql/parser/core/visitor/VisitorRule.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/visitor/VisitorRule.java
b/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/visitor/VisitorRule.java
index dd1b7dc..b609d4d 100644
---
a/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/visitor/VisitorRule.java
+++
b/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/visitor/VisitorRule.java
@@ -140,6 +140,8 @@ public enum VisitorRule {
DESC("Desc", SQLStatementType.DAL),
+ EXPLAIN("Explain", SQLStatementType.DAL),
+
SHOW_DATABASES("ShowDatabases", SQLStatementType.DAL),
SHOW_TABLES("ShowTables", SQLStatementType.DAL),