From dc548e53d49729f68a2da8a6393397f04b5e84ad Mon Sep 17 00:00:00 2001 From: zhangliang Date: Sun, 1 Oct 2023 22:43:51 +0800 Subject: [PATCH] Add debug info --- .../single/datanode/SingleTableDataNodeLoader.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/single/core/src/main/java/org/apache/shardingsphere/single/datanode/SingleTableDataNodeLoader.java b/kernel/single/core/src/main/java/org/apache/shardingsphere/single/datanode/SingleTableDataNodeLoader.java index c5c8bb2ba63805..01232f88c63416 100644 --- a/kernel/single/core/src/main/java/org/apache/shardingsphere/single/datanode/SingleTableDataNodeLoader.java +++ b/kernel/single/core/src/main/java/org/apache/shardingsphere/single/datanode/SingleTableDataNodeLoader.java @@ -103,6 +103,9 @@ public static Map> load(final String databaseName, private static Map> load(final String databaseName, final DatabaseType databaseType, final String dataSourceName, final DataSource dataSource, final Collection excludedTables) { + if ("readwrite_ds_0".equals(dataSourceName)) { + System.out.println(111); + } Map> schemaTableNames = loadSchemaTableNames(databaseName, databaseType, dataSource, dataSourceName); if ("readwrite_ds_0".equals(dataSourceName)) { log.error("====schemaTableNames====" + schemaTableNames);