We had to debug our web application for an event that occurred some days ago, and all we have are the MySQL replication binlogs (statement replication). Can we depend on those as being exactly the same SQL queries as our web application was executing on master?
Our application is doing a lot of updates on single row in one table, but those are always queries like UPDATE y SET x = x + 1 ...
or x = x - 2
, never UPDATE y SET x = 23 ...
, and in the binlog we have found many x = 23
kind of updates. Can it be that those strictly assigning UPDATE queries are in fact created by replication mechanism?