diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2022-10-21 16:50:55 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-11-02 00:31:27 +0100 |
commit | 093ec49b6b6948ee8d5a560cd2f862e38844c223 (patch) | |
tree | cca4973e142c8311003c448f09990e241d13f082 /mysql-test/mariadb-test-run.pl | |
parent | 0537ce4e9fab393c5941ddfc636b9022f106e36e (diff) | |
download | mariadb-git-093ec49b6b6948ee8d5a560cd2f862e38844c223.tar.gz |
Add magic database access to test and test_% and removing the script
from mysql-test-run.
Diffstat (limited to 'mysql-test/mariadb-test-run.pl')
-rwxr-xr-x | mysql-test/mariadb-test-run.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mysql-test/mariadb-test-run.pl b/mysql-test/mariadb-test-run.pl index 16f4164061e..ff02689dfb0 100755 --- a/mysql-test/mariadb-test-run.pl +++ b/mysql-test/mariadb-test-run.pl @@ -3132,9 +3132,8 @@ sub mysql_install_db { # Append sys schema mtr_appendfile_to_file("$gis_sp_path/mysql_sys_schema.sql", $bootstrap_sql_file); - # Create test database - mtr_appendfile_to_file("$sql_dir/mysql_test_db.sql", - $bootstrap_sql_file); + + mtr_tofile($bootstrap_sql_file, "CREATE DATABASE IF NOT EXISTS test CHARACTER SET latin1 COLLATE latin1_swedish_ci;\n"); # mysql.gtid_slave_pos was created in InnoDB, but many tests # run without InnoDB. Alter it to Aria now |