This is an automated email from the ASF dual-hosted git repository.

panjuan 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 1ea6d35  support kill query statement parse (#13431)
1ea6d35 is described below

commit 1ea6d35c6a2deacb6e148158c6ac4adc6c60ef38
Author: Zhengqiang Duan <[email protected]>
AuthorDate: Wed Nov 3 15:30:47 2021 +0800

    support kill query statement parse (#13431)
---
 .../sql/parser/core/database/visitor/SQLVisitorRule.java              | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
index ca82d05..f1a1785 100644
--- 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java
@@ -268,7 +268,7 @@ public enum SQLVisitorRule {
     
     FLUSH("Flush", SQLStatementType.DAL),
 
-    Restart("Restart", SQLStatementType.DAL),
+    RESTART("Restart", SQLStatementType.DAL),
 
     CREATE_RESOURCE_GROUP("CreateResourceGroup", SQLStatementType.DAL),
     
@@ -282,6 +282,8 @@ public enum SQLVisitorRule {
     
     REPAIR_TABLE("RepairTable", SQLStatementType.DAL),
     
+    KILL("Kill", SQLStatementType.DAL),
+    
     CALL("Call", SQLStatementType.DML),
     
     CHANGE_MASTER("ChangeMaster", SQLStatementType.RL), 

Reply via email to