Bug #70655 mysqlcheck and mysql_upgrade must log all changes done to Server
Submitted: 18 Oct 2013 11:54
Reporter: Andrii Nikitin Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:all OS:Any
Assigned to: CPU Architecture:Any

[18 Oct 2013 11:54] Andrii Nikitin
Description:
mysqlcheck --auto-repair must have an option to log all changes done to server:
each ALTER / REPAIR / RENAME and other statements to tables and databases.

mysql_upgrade must have the same option too and be able to pass it to mysqlcheck

How to repeat:
fr

Suggested fix:
e.g. run_query() mysqlcheck.c  must print command unless it starts with SELECT/SHOW

mysql_upgrade should be able to pass the flag to mysqlcheck