You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2022/04/14 15:56:06 UTC
[shardingsphere] branch master updated: Remove redundant `instanceId` type from `DISABLE/ENABLE INSTANCE` syntax. (#16812)
This is an automated email from the ASF dual-hosted git repository.
jianglongtao 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 197dfd05814 Remove redundant `instanceId` type from `DISABLE/ENABLE INSTANCE` syntax. (#16812)
197dfd05814 is described below
commit 197dfd0581459124250a389734470e405fb329b2
Author: lanchengx <52...@users.noreply.github.com>
AuthorDate: Thu Apr 14 23:55:57 2022 +0800
Remove redundant `instanceId` type from `DISABLE/ENABLE INSTANCE` syntax. (#16812)
---
.../src/main/antlr4/imports/RALStatement.g4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shardingsphere-distsql/shardingsphere-distsql-parser/src/main/antlr4/imports/RALStatement.g4 b/shardingsphere-distsql/shardingsphere-distsql-parser/src/main/antlr4/imports/RALStatement.g4
index 30e7268af98..6c5530abfe2 100644
--- a/shardingsphere-distsql/shardingsphere-distsql-parser/src/main/antlr4/imports/RALStatement.g4
+++ b/shardingsphere-distsql/shardingsphere-distsql-parser/src/main/antlr4/imports/RALStatement.g4
@@ -184,7 +184,7 @@ instanceDefination
;
instanceId
- : ip AT port | IDENTIFIER | STRING
+ : ip AT port
;
refreshScope