• Monty's avatar
    Fixed some errors & warnings when running mariadb-upgrade on MySQL instance · d671fec4
    Monty authored
    - Moved view checks after privilege tables are fixed. This is to avoid
      warnings about wrongly defined mysql.proc when checking views.
    - Don't use stat tables before they have been fixed.
    - Don't run mysql_fix_view() if 'FOR MYSQL' is used if the view is
      already a MariaDB view.
    - Added 'FOR UPGRADE' as an option for 'REPAIR VIEW' to be able to
      detect if the REPAIR command comes from mariadb_upgrade. In this
      case we get a warning, instead of an error, if a definer of a view
      does not exists.
    d671fec4
mysql_upgrade_ssl.result 7.44 KB