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 2021/12/28 06:24:42 UTC

[shardingsphere] branch master updated: Revert "[DistSQL] Support enable and disable shadow rule. (#14296)" (#14360)

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 0bcd5c0  Revert "[DistSQL] Support enable and disable shadow rule. (#14296)" (#14360)
0bcd5c0 is described below

commit 0bcd5c0bef12ee39897e1d1b518b1b8f84c05dac
Author: lanchengx <52...@users.noreply.github.com>
AuthorDate: Tue Dec 28 14:23:59 2021 +0800

    Revert "[DistSQL] Support enable and disable shadow rule. (#14296)" (#14360)
    
    This reverts commit 1bda9cfd
---
 .../src/main/antlr4/imports/shadow/RDLStatement.g4                | 8 --------
 .../src/main/antlr4/imports/shadow/RQLStatement.g4                | 4 ----
 2 files changed, 12 deletions(-)

diff --git a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-distsql/shardingsphere-shadow-distsql-parser/src/main/antlr4/imports/shadow/RDLStatement.g4 b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-distsql/shardingsphere-shadow-distsql-parser/src/main/antlr4/imports/shadow/RDLStatement.g4
index bc168c4..19c4dd9 100644
--- a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-distsql/shardingsphere-shadow-distsql-parser/src/main/antlr4/imports/shadow/RDLStatement.g4
+++ b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-distsql/shardingsphere-shadow-distsql-parser/src/main/antlr4/imports/shadow/RDLStatement.g4
@@ -30,14 +30,6 @@ alterShadowRule
 dropShadowRule
     : DROP SHADOW RULE ruleName (COMMA ruleName)*
     ;
-    
-disableShadowRule
-    : DISABLE SHADOW RULES
-    ;
-
-enableShadowRule
-    : ENABLE SHADOW RULES
-    ;
    
 createShadowAlgorithm
     : CREATE SHADOW ALGORITHM shadowAlgorithmDefinition (COMMA shadowAlgorithmDefinition)*
diff --git a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-distsql/shardingsphere-shadow-distsql-parser/src/main/antlr4/imports/shadow/RQLStatement.g4 b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-distsql/shardingsphere-shadow-distsql-parser/src/main/antlr4/imports/shadow/RQLStatement.g4
index d233d3f..1ae1e2d 100644
--- a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-distsql/shardingsphere-shadow-distsql-parser/src/main/antlr4/imports/shadow/RQLStatement.g4
+++ b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-distsql/shardingsphere-shadow-distsql-parser/src/main/antlr4/imports/shadow/RQLStatement.g4
@@ -31,10 +31,6 @@ showShadowAlgorithms
     : SHOW SHADOW ALGORITHMS (FROM schemaName)?
     ;
 
-showShadowStatus
-    : SHOW SHADOW RULE STATUS (FROM schemaName)?
-    ;
-
 shadowRule
     : RULE ruleName
     ;