the set timestamp command affects the value returned by now and the value that automatic timestamp columns get when their rows change.
this is necessary for replication and reproduction of the journal. query semantics, depending on the current time, will always match exactly. (note sysdate ignores set timestamp unlike now )
the log will ensure that the timestamp is recorded using set timestamp whenever a new connection, mysql ping, or any statement is made.
user262976
source share