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 0051f9b  For #13494, Correct the DistSQL error message. (#13507)
0051f9b is described below

commit 0051f9bf1eceaed0a1eaa6f303eed81afd71f109
Author: yx9o <[email protected]>
AuthorDate: Tue Nov 9 11:27:17 2021 +0800

    For #13494, Correct the DistSQL error message. (#13507)
---
 .../infra/distsql/exception/rule/RuleInUsedException.java               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleInUsedException.java
 
b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleInUsedException.java
index c9a4cdd..cc57013 100644
--- 
a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleInUsedException.java
+++ 
b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleInUsedException.java
@@ -31,6 +31,6 @@ public final class RuleInUsedException extends 
RuleDefinitionViolationException
     }
     
     public RuleInUsedException(final String ruleType, final String schemaName, 
final Collection<String> ruleNames) {
-        super(1111, String.format("%s rules `%s` in schema `%s` are still in 
used.", ruleType, schemaName, ruleNames));
+        super(1111, String.format("%s rules `%s` in schema `%s` are still in 
used.", ruleType, ruleNames, schemaName));
     }
 }

Reply via email to