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 e5a4694  Revise #11513 (#11515)
e5a4694 is described below

commit e5a46943437a78df2652f19abc72ce15beb9130b
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Jul 26 22:34:25 2021 +0800

    Revise #11513 (#11515)
---
 .../scaling/mysql/component/checker/MySQLDataSourceChecker.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-mysql/src/main/java/org/apache/shardingsphere/scaling/mysql/component/checker/MySQLDataSourceChecker.java
 
b/shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-mysql/src/main/java/org/apache/shardingsphere/scaling/mysql/component/checker/MySQLDataSourceChecker.java
index 6652311..fe19662 100644
--- 
a/shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-mysql/src/main/java/org/apache/shardingsphere/scaling/mysql/component/checker/MySQLDataSourceChecker.java
+++ 
b/shardingsphere-scaling/shardingsphere-scaling-dialect/shardingsphere-scaling-mysql/src/main/java/org/apache/shardingsphere/scaling/mysql/component/checker/MySQLDataSourceChecker.java
@@ -44,7 +44,7 @@ public final class MySQLDataSourceChecker extends 
AbstractDataSourceChecker {
     
     private static final String SHOW_VARIABLES_SQL = "SHOW VARIABLES LIKE 
'%s'";
     
-    private static final Map<String, String> REQUIRED_VARIABLES = new 
HashMap<>(3);
+    private static final Map<String, String> REQUIRED_VARIABLES = new 
HashMap<>(3, 1);
     
     static {
         REQUIRED_VARIABLES.put("LOG_BIN", "ON");

Reply via email to