Skip to content

Commit fa7635e

Browse files
author
diego Dupin
committed
[misc] COM_RESET_CONNECTION expect a response (ERR_Packet or OK_Packet)
1 parent 6dc6003 commit fa7635e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/mariadb/jdbc/message/client/ResetPacket.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ public int encode(Writer writer, Context context) throws IOException {
1818
writer.initPacket();
1919
writer.writeByte(0x1f);
2020
writer.flush();
21-
return 0;
21+
return 1;
2222
}
2323
}

0 commit comments

Comments
 (0)