summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authormsvensson@pilot.blaudden <>2007-02-28 14:41:57 +0100
committermsvensson@pilot.blaudden <>2007-02-28 14:41:57 +0100
commit9cfd5691743667f7f7509b6c6cf4627066fb7c7d (patch)
treee99b55b8792517d9010a35f65ac70991407ea168 /mysql-test/mysql-test-run.pl
parent2f3611801808e994933f20535235394c6323b17d (diff)
parente391b86fb0748591a7fa98b6924c2509ccd66c6a (diff)
downloadmariadb-git-9cfd5691743667f7f7509b6c6cf4627066fb7c7d.tar.gz
Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint-bug20166
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-new-maint
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl14
1 files changed, 10 insertions, 4 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index d04998def8f..b1c042fdcde 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -2919,16 +2919,21 @@ sub install_db ($$) {
# ----------------------------------------------------------------------
# Create the bootstrap.sql file
# ----------------------------------------------------------------------
- my $bootstrap_sql_file= "$opt_vardir/tmp/bootstrap.sql$$";
+ my $bootstrap_sql_file= "$opt_vardir/tmp/bootstrap.sql";
# Use the mysql database for system tables
mtr_tofile($bootstrap_sql_file, "use mysql");
- # Add the offical mysql system tables and initial system data
- # for a prodcuction system
+ # Add the offical mysql system tables
+ # for a production system
mtr_appendfile_to_file("$path_sql_dir/mysql_system_tables.sql",
$bootstrap_sql_file);
+ # Add the mysql system tables initial data
+ # for a production system
+ mtr_appendfile_to_file("$path_sql_dir/mysql_system_tables_data.sql",
+ $bootstrap_sql_file);
+
# Add test data for timezone - this is just a subset, on a real
# system these tables will be populated either by mysql_tzinfo_to_sql
# or by downloading the timezone table package from our website
@@ -2952,7 +2957,8 @@ sub install_db ($$) {
{
mtr_error("Error executing mysqld --bootstrap\n" .
- "Could not install system database, see $path_bootstrap_log");
+ "Could not install system database from $bootstrap_sql_file\n" .
+ "see $path_bootstrap_log for errors");
}
}