Although not recommended, the change of binlog_format to "statement" happens at the session level, so it doesn't affect the regular operation of the master.
Nevertheless I agree that it's unnecessary in the use cases you mention. Also, the change requires super privilege, so if it's not needed it should be avoided.
I've prepared a fix without adding an extra option, since it's clear from the use cases when binlog_format should be altered or not.
Hello Simon,
Although not recommended, the change of binlog_format to "statement" happens at the session level, so it doesn't affect the regular operation of the master.
Nevertheless I agree that it's unnecessary in the use cases you mention. Also, the change requires super privilege, so if it's not needed it should be avoided.
I've prepared a fix without adding an extra option, since it's clear from the use cases when binlog_format should be altered or not.
Thanks for reporting
Regards
Frank