• unknown's avatar
    Bug #28401 mysql_upgrade Failed with STRICT_ALL_TABLES, ANSI_QUOTES and NO_ZERO_DATE · f52f931f
    unknown authored
     - The SQL commands used by mysql_upgrade are written to be run
        with sql_mode set to '' - thus the scripts should change sql_mode
        for the session to make sure the SQL is legal.
    
    
    mysql-test/r/mysql_upgrade.result:
      Update test result
    mysql-test/t/mysql_upgrade.test:
      The SQL commands used by mysql_upgrade are written to be run
      with sql_mode set to '' - thus the scripts should change sql_mode
      for the session to make sure the SQL is legal.
    scripts/mysql_system_tables_fix.sql:
      Set sql_mode to '' before running the SQL commands
      to fix system tables - backport from 5.1
    f52f931f
mysql_upgrade.test 2.22 KB