summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-02-28 14:41:57 +0100
committerunknown <msvensson@pilot.blaudden>2007-02-28 14:41:57 +0100
commitc664530d7083c5faf23d771fe384856f090b73c0 (patch)
treee99b55b8792517d9010a35f65ac70991407ea168 /mysql-test/mysql-test-run.pl
parente9cce1793dafdaf6d5c085d352d82cc0d3026004 (diff)
parent838e89dea60b7215a39c80824764d92f951dd5c4 (diff)
downloadmariadb-git-c664530d7083c5faf23d771fe384856f090b73c0.tar.gz
Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint-bug20166
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-new-maint mysql-test/mysql-test-run.pl: Auto merged scripts/Makefile.am: Auto merged scripts/mysql_install_db.sh: Auto merged scripts/mysql_system_tables_fix.sql: Auto merged scripts/mysql_system_tables.sql: Manual merge
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");
}
}