mirror of
https://github.com/actiontech/dble.git
synced 2026-05-24 08:49:56 -05:00
kill self will close #1663
This commit is contained in:
@@ -120,7 +120,9 @@ public final class KillHandler {
|
||||
private static void killConnection(long id, ServerConnection c) {
|
||||
// kill myself
|
||||
if (id == c.getId()) {
|
||||
getOkPacket(c).write(c);
|
||||
OkPacket packet = getOkPacket(c);
|
||||
packet.setPacketId(0);
|
||||
packet.write(c);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user