You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2023/06/14 11:45:45 UTC

[shardingsphere] branch master updated: Rename sys to sys_config (#26343)

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 c61922878c1 Rename sys to sys_config (#26343)
c61922878c1 is described below

commit c61922878c18f54949fa4aa5f43e96f134f7c02f
Author: zhaojinchao <zh...@apache.org>
AuthorDate: Wed Jun 14 19:45:37 2023 +0800

    Rename sys to sys_config (#26343)
---
 .../infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java | 2 +-
 .../src/main/resources/schema/mysql/sys/{sys.yaml => sys_config.yaml}   | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java
index 5be150b9a87..122a8246f77 100644
--- a/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java
+++ b/infra/common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/builder/SystemSchemaBuilderRule.java
@@ -70,7 +70,7 @@ public enum SystemSchemaBuilderRule {
             "socket_summary_by_event_name", "socket_summary_by_instance", "status_by_account", "status_by_host", "status_by_thread", "status_by_user", "table_handles",
             "table_io_waits_summary_by_index_usage", "table_io_waits_summary_by_table", "table_lock_waits_summary_by_table", "threads", "user_variables_by_thread", "users", "variables_by_thread"))),
     
-    MYSQL_SYS("MySQL", "sys", new HashSet<>(Collections.singleton("sys"))),
+    MYSQL_SYS("MySQL", "sys", new HashSet<>(Collections.singleton("sys_config"))),
     
     MYSQL_SHARDING_SPHERE("MySQL", "shardingsphere", new HashSet<>(Arrays.asList("sharding_table_statistics", "cluster_information"))),
     
diff --git a/infra/common/src/main/resources/schema/mysql/sys/sys.yaml b/infra/common/src/main/resources/schema/mysql/sys/sys_config.yaml
similarity index 100%
rename from infra/common/src/main/resources/schema/mysql/sys/sys.yaml
rename to infra/common/src/main/resources/schema/mysql/sys/sys_config.yaml