Skip to content

Commit

Permalink
Update DirectLogFetcherTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyaogui authored Jun 27, 2017
1 parent 3dba400 commit 0bd4a11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ private void sendBinlogDump(MysqlConnector connector, String binlogfilename, Lon
HeaderPacket binlogDumpHeader = new HeaderPacket();
binlogDumpHeader.setPacketBodyLength(cmdBody.length);
binlogDumpHeader.setPacketSequenceNumber((byte) 0x00);
PacketManager.write(connector.getChannel(), binlogDumpHeader.toBytes(),cmdBody);
PacketManager.writePkg(connector.getChannel(), binlogDumpHeader.toBytes(), cmdBody);
}
}

0 comments on commit 0bd4a11

Please sign in to comment.