If a session command produces a different result on the slave than it did on the master, a warning is logged. This warning now also logs the query that was being executed to make investigation of the problem easier.