You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2021/10/20 05:23:58 UTC

[shardingsphere] branch master updated: Revise #13101 for openGauss batch bind (#13168)

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 8321493  Revise #13101 for openGauss batch bind (#13168)
8321493 is described below

commit 832149355859eb3abd7dc838701574da4d4b3c34
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Wed Oct 20 13:23:19 2021 +0800

    Revise #13101 for openGauss batch bind (#13168)
---
 .../command/query/binary/bind/OpenGaussComBatchBindExecutor.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-opengauss/src/main/java/org/apache/shardingsphere/proxy/frontend/opengauss/command/query/binary/bind/OpenGaussComBatchBindExecutor.java b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-opengauss/src/main/java/org/apache/shardingsphere/proxy/frontend/opengauss/command/query/binary/bind/OpenGaussComBatchBindExecutor.java
index 663a4e5..0d81094 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-opengauss/src/main/java/org/apache/shardingsphere/proxy/frontend/opengauss/command/query/binary/bind/OpenGaussComBatchBindExecutor.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-opengauss/src/main/java/org/apache/shardingsphere/proxy/frontend/opengauss/command/query/binary/bind/OpenGaussComBatchBindExecutor.java
@@ -101,7 +101,7 @@ public final class OpenGaussComBatchBindExecutor implements QueryCommandExecutor
     
     @Override
     public ResponseType getResponseType() {
-        throw new UnsupportedOperationException("openGauss batch bind doesn't have response type");
+        return ResponseType.UPDATE;
     }
     
     @Override