This is an automated email from the ASF dual-hosted git repository.

zhangliang 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 5385740  Revise #10316 (#10323)
5385740 is described below

commit 5385740c5383088dd492128c6fabfbb5aaec5268
Author: 吴伟杰 <[email protected]>
AuthorDate: Thu May 13 10:30:23 2021 +0800

    Revise #10316 (#10323)
---
 .../command/query/binary/close/PostgreSQLComCloseExecutor.java         | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/binary/close/PostgreSQLComCloseExecutor.java
 
b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/binary/close/PostgreSQLComCloseExecutor.java
index 0599a68..f488b68 100644
--- 
a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/binary/close/PostgreSQLComCloseExecutor.java
+++ 
b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/binary/close/PostgreSQLComCloseExecutor.java
@@ -32,7 +32,6 @@ import 
org.apache.shardingsphere.proxy.frontend.command.executor.CommandExecutor
 import java.sql.SQLException;
 import java.util.Collection;
 import java.util.Collections;
-import java.util.List;
 
 /**
  * Command close executor for PostgreSQL.
@@ -64,7 +63,7 @@ public final class PostgreSQLComCloseExecutor implements 
CommandExecutor {
         return Collections.singletonList(new PostgreSQLCloseCompletePacket());
     }
     
-    private List<DatabasePacket<?>> closePortal() {
+    private Collection<DatabasePacket<?>> closePortal() {
         PostgreSQLErrorResponsePacket packet = 
PostgreSQLErrorResponsePacket.newBuilder(PostgreSQLMessageSeverityLevel.ERROR, 
PostgreSQLErrorCode.FEATURE_NOT_SUPPORTED,
                 "Not implemented: Close portal").build();
         return Collections.singletonList(packet);

Reply via email to