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

duanzhengqiang 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 4b42d86f421 fix PostgreSQL/openGauss RESET statement (#19900)
4b42d86f421 is described below

commit 4b42d86f42196634d2f11de49e8703ecbed5609b
Author: Runqi Zhao <[email protected]>
AuthorDate: Sun Aug 7 09:30:50 2022 +0800

    fix PostgreSQL/openGauss RESET statement (#19900)
    
    * fix PostgreSQL/openGauss RESET statement
    
    * add test case
    
    * fix ci
    
    * fix ci
    
    * fix ci
---
 .../src/main/antlr4/imports/opengauss/DALStatement.g4                   | 2 +-
 .../src/main/antlr4/imports/postgresql/DALStatement.g4                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/src/main/antlr4/imports/opengauss/DALStatement.g4
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/src/main/antlr4/imports/opengauss/DALStatement.g4
index c28fb113537..7c55d4ef9e7 100644
--- 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/src/main/antlr4/imports/opengauss/DALStatement.g4
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-opengauss/src/main/antlr4/imports/opengauss/DALStatement.g4
@@ -51,7 +51,7 @@ configurationParameterClause
     ;
 
 resetParameter
-    : RESET (ALL | identifier) EOF
+    : RESET (ALL | identifier)
     ;
 
 explain
diff --git 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DALStatement.g4
 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DALStatement.g4
index 076896b73d1..24e4c87430d 100644
--- 
a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DALStatement.g4
+++ 
b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DALStatement.g4
@@ -53,7 +53,7 @@ configurationParameterClause
     ;
 
 resetParameter
-    : RESET (ALL | identifier) EOF
+    : RESET (ALL | identifier)
     ;
 
 explain

Reply via email to