• unknown's avatar
    Bug#20166 mysql-test-run.pl does not test system privilege tables creation · 9d58a3c0
    unknown authored
     - Build sql files for netware from the mysql_system_tables*.sq files
     - Fix comments about mysql_create_system_tables.sh
     - Use mysql_install_db.sh to create system tables for mysql_test-run-shell
     - Fix mysql-test-run.pl to also look in share/mysql for the msyql_system*.sql files
    
    Changeset coded today by Magnus Svensson, just the application to 5.0.38 is by Joerg Bruehe.
    
    
    BitKeeper/deleted/.del-init_db.sql~e2b8d0c8390e8023:
      Delete: netware/init_db.sql
    BitKeeper/deleted/.del-test_db.sql:
      Delete: netware/test_db.sql
    BitKeeper/etc/ignore:
      Added netware/init_db.sql netware/test_db.sql to the ignore list
    mysql-test/install_test_db.sh:
      Use mysql_install_db from install_test_db(which is used by mysql-test-run-shell)
      to install the system tables
    mysql-test/mysql-test-run.pl:
      Look for the mysql_system_tables*.sql also in share/mysql
    netware/Makefile.am:
      Build netware/init_db.sql and netware/test_db.sql from
      the sources in scripts/msyql_system_tables*.sql
    scripts/make_binary_distribution.sh:
      netware/init_db.sql and netware/test_db.sql are now built by the Makefiles
      from the scripts/mysql_system_tables*.sql files
    sql/mysql_priv.h:
      Update comment remindging to update the MySQL system table definitions
      when adding a new SQL_MODE
    sql/sql_acl.h:
      Update comment reminding to update the MySQL System tables
      when changing the ACL defines
    9d58a3c0
install_test_db.sh 2.6 KB