diff --git a/features/readwrite-splitting/distsql/handler/src/main/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/ShowReadwriteSplittingRuleExecutor.java b/features/readwrite-splitting/distsql/handler/src/main/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/ShowReadwriteSplittingRuleExecutor.java index 13d53df7cfae6c..3d2639457b5ad1 100644 --- a/features/readwrite-splitting/distsql/handler/src/main/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/ShowReadwriteSplittingRuleExecutor.java +++ b/features/readwrite-splitting/distsql/handler/src/main/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/query/ShowReadwriteSplittingRuleExecutor.java @@ -81,7 +81,7 @@ private LocalDataQueryResultRow buildDataItem(final ReadwriteSplittingDataSource String name = dataSourceRuleConfig.getName(); Map exportDataSources = null == dataSourceRuleConfig.getDynamicStrategy() ? exportableDataSourceMap.get(name) : exportableAutoAwareDataSource.get(name); Optional loadBalancer = Optional.ofNullable(loadBalancers.get(dataSourceRuleConfig.getLoadBalancerName())); - return new LocalDataQueryResultRow(name, status, + return new LocalDataQueryResultRow(name, status ? "ENABLE" : "DISABLE", getWriteDataSourceName(dataSourceRuleConfig, exportDataSources), getReadDataSourceNames(dataSourceRuleConfig, exportDataSources), loadBalancer.map(AlgorithmConfiguration::getType).orElse(""),