• Michael Widenius's avatar
    Nicer output for mysql_upgrade · 74af6dfa
    Michael Widenius authored
    Added --silent option to mysql_upgrade so that one can only get errors printed
    Don't write unnecessary warning about log tables during upgrade
    
    
    
    client/mysql_upgrade.c:
      Don't print connect arguments if not using --verbose --verbose
      Added option --silent to only print errors. This options is passed to mysqlcheck.
      Write out phase names
      The 'verbose' code is a bit strange as I wanted to keep compatibility with old mysql_upgrade
    client/mysqlcheck.c:
      Don't upgrade log tables (to avoid confusing warning message that they can't be locked)
    74af6dfa
mysql_upgrade.c 23.8 KB