• unknown's avatar
    Update mysql_upgrade tests for 5.1 · 9b8daa32
    unknown authored
    Add "two liner" to mysqld --bootstrap that allows
    wo write scripts that can be run both by mysql and mysqld --bootstrap
    Remove duplicate create of MySQL system tables 
    
    
    mysql-test/r/mysql_upgrade.result:
      Update mysql_upgrade.result for new tables in 5.1
    scripts/mysql_system_tables.sql:
      Use "delimiter ;;" to make it possible to run the script
      both with "mysql" and "mysqld --bootstrap"
    scripts/mysql_system_tables_fix.sql:
      Remove duplicate stored procedure for creating slow_log
      and general_log.
      Remove duplicate CREATE of ndb_binlog_index.
      Those are already defined in mysql_system_tables.sql
    sql/sql_parse.cc:
      Make "mysqld --bootstrap skip lines startig with "delimiter"
      thus making it possible to write sql scripts containing
      stored procedures that can be executed both  with "mysql" and
      "mysqld --bootstrap"
    9b8daa32
mysql_system_tables_fix.sql 22.3 KB