List:Commits« Previous MessageNext Message »
From:Vladislav Vaintroub Date:August 2 2008 3:14am
Subject:bzr commit into mysql-6.0-falcon branch (vvaintroub:2765) Bug#38519
View as plain text  
#At file:///C:/bzr/mysql-6.0-falcon-team/

 2765 Vladislav Vaintroub	2008-08-02
      Bug#38519 Falcon causes massive test failures in embedded mode
      
      Remove falcon tables before each run of mysql_test_embedded.
      Otherwise an error in falcon recovery will prevent *any*
      subsequent test (not only falcon's) to run
modified:
  mysql-test/mysql-test-run.pl

per-file messages:
  mysql-test/mysql-test-run.pl
    Remove falcon  files before running mysql_test_embedded
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl	2008-07-25 17:53:22 +0000
+++ b/mysql-test/mysql-test-run.pl	2008-08-02 01:14:22 +0000
@@ -4703,11 +4703,15 @@ sub run_mysqltest ($) {
 
   # ----------------------------------------------------------------------
   # If embedded server, we create server args to give mysqltest to pass on
+  # and remove existing falcon tables
   # ----------------------------------------------------------------------
-
+  
   if ( $glob_use_embedded_server )
   {
     mysqld_arguments($args,$master->[0],$tinfo->{'master_opt'},[]);
+    #Remove  falcon tables before each test, otherwise every start might fail
+    #if there is an error in falcon recovery
+    rm_falcon_tables($master->[0]->{'path_myddir'});
   }
 
   # ----------------------------------------------------------------------

Thread
bzr commit into mysql-6.0-falcon branch (vvaintroub:2765) Bug#38519Vladislav Vaintroub2 Aug