Don't rely on the SQL log to detect changes

ask mysql for a checksum to reliably detect if a table has changed or not