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 241048b45ba Refactor ShowDistVariableExecutor (#29718)
241048b45ba is described below

commit 241048b45ba204fe98301d87b92c4a0b33f2f5cf
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Jan 14 13:47:59 2024 +0800

    Refactor ShowDistVariableExecutor (#29718)
---
 .../backend/handler/distsql/ral/queryable/ShowDistVariableExecutor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/proxy/backend/core/src/main/java/org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/ShowDistVariableExecutor.java
 
b/proxy/backend/core/src/main/java/org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/ShowDistVariableExecutor.java
index c6f5d709ab7..0e72edd7811 100644
--- 
a/proxy/backend/core/src/main/java/org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/ShowDistVariableExecutor.java
+++ 
b/proxy/backend/core/src/main/java/org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/ShowDistVariableExecutor.java
@@ -98,7 +98,7 @@ public final class ShowDistVariableExecutor implements 
ConnectionSizeAwareQuerya
     }
     
     private String getTemporaryConfigurationValue(final ShardingSphereMetaData 
metaData, final String variableName) {
-        return 
metaData.getTemporaryProps().getValue(TemporaryConfigurationPropertyKey.valueOf(variableName)).toString();
+        return 
getStringResult(metaData.getTemporaryProps().getValue(TemporaryConfigurationPropertyKey.valueOf(variableName)).toString());
     }
     
     private String getConnectionSize(final String variableName) {

Reply via email to