Skip to content

Commit

Permalink
Merge pull request #18 from fivetran/percona-tweak
Browse files Browse the repository at this point in the history
move change from connector to binlog client
  • Loading branch information
ashleycoxley authored Aug 19, 2022
2 parents 7faf3be + 716a3ed commit 65fcb9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ private void fetchBinlogFilenameAndPosition(final PacketChannel channel) throws
}

protected ChecksumType fetchBinlogChecksum(final PacketChannel channel) throws IOException {
channel.write(new QueryCommand("show global variables like 'binlog_checksum'"));
channel.write(new QueryCommand("show variables like 'binlog_checksum'"));
ResultSetRowPacket[] resultSet = readResultSet(channel);
if (resultSet.length == 0) {
return ChecksumType.NONE;
Expand Down

0 comments on commit 65fcb9f

Please sign in to comment.