Unverified Commit 9f17db25 authored by 张亮's avatar 张亮 Committed by GitHub
Browse files

Revert "解决粘包问题"

parent 3604dad8
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -33,11 +33,6 @@ public final class MySQLPacketCodec extends ByteToMessageCodec<AbstractMySQLSent
            in.resetReaderIndex();
            return;
        }
        if (readableBytes > payloadLength) {
            ByteBuf frame = in.readRetainedSlice(payloadLength);
            out.add(frame);
            return;
        }
        out.add(in);
    }