pt-table-sync generates lots of errors in MariaDB logs
When running pt-table-sync, MariaDB outputs lots of errors like the following:
Jan 13 15:01:01 server mysqld: 140113 15:01:01 [Warning] Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT.
The statement is unsafe because it uses a LIMIT clause. This is unsafe because the set of rows included cannot be predicted. Statement: UPDATE xyz set [...] LIMIT 1
Version: pt-table-sync 2.2.6
Server: MariaDB 5.5.34.
Update clauses which don't use order by shouldn't have limit specified as the order of the row returned, thus the rows which will be affected, can't be determined. Though this is reported on MariaDB, it'll be the same issue with MySQL.