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 2022/06/22 07:09:41 UTC

[shardingsphere] branch master updated: Remove unused method in ResponsePacketBuilder (#18510)

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 eb71a8744ca Remove unused method in ResponsePacketBuilder (#18510)
eb71a8744ca is described below

commit eb71a8744cad0918f877f22271a8a83de81f6948
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Wed Jun 22 15:09:33 2022 +0800

    Remove unused method in ResponsePacketBuilder (#18510)
---
 .../mysql/command/query/builder/ResponsePacketBuilder.java       | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/builder/ResponsePacketBuilder.java b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/builder/ResponsePacketBuilder.java
index 9072a5d14e1..87105703444 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/builder/ResponsePacketBuilder.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/builder/ResponsePacketBuilder.java
@@ -87,13 +87,4 @@ public final class ResponsePacketBuilder {
     public static Collection<DatabasePacket<?>> buildUpdateResponsePackets(final UpdateResponseHeader updateResponseHeader) {
         return Collections.singletonList(new MySQLOKPacket(1, updateResponseHeader.getUpdateCount(), updateResponseHeader.getLastInsertId()));
     }
-    
-    /**
-     * Build client encoding response packets.
-     *
-     * @return client encoding response packets
-     */
-    public static Collection<DatabasePacket<?>> buildClientEncodingResponsePackets() {
-        return Collections.singletonList(new MySQLOKPacket(1, 0, 0));
-    }
 }