MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:rsomla Date:April 16 2008 12:12pm
Subject:bk commit into 6.0 tree (rafal:1.2615) BUG#36134
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of rafal.  When rafal does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-04-16 14:12:03+02:00, rafal@quant.(none) +1 -0
  BUG#36134 (Random failures of backup_tablespace test)
  
  The failure could be caused by DROP DATABASE backup_ts statmenet, executed at 
  the beginning of the test, not deleting all Falcon tables stored in it 
  immediately.
  
  This patch implements a workaround proposed in the bug report, that is, DROPS
  all tables explicitly. 

  mysql-test/t/backup_tablespace.test@stripped, 2008-04-16 14:11:57+02:00, rafal@quant.(none) +8 -0
    Drop all tables in backup_ts database before dropping the database itself.

diff -Nrup a/mysql-test/t/backup_tablespace.test b/mysql-test/t/backup_tablespace.test
--- a/mysql-test/t/backup_tablespace.test	2008-04-13 10:17:01 +02:00
+++ b/mysql-test/t/backup_tablespace.test	2008-04-16 14:11:57 +02:00
@@ -9,6 +9,14 @@
 --source include/not_embedded.inc
 
 --disable_warnings
+#
+# note: DROP TABLE statements are just for the case Falcon has some problems
+# with handling DROP DATABASE and doesn't delete all the tables immediatley
+# - there were random test failures which could be caused by such anomalies,
+# see BUG#36134.
+#
+DROP TABLE IF EXISTS backup_ts.not_ts;
+DROP TABLE IF EXISTS backup_ts.has_ts;
 DROP DATABASE IF EXISTS backup_ts;
 --error 0,1
 --remove_file $MYSQLTEST_VARDIR/master-data/backup_ts.bak;
Thread
bk commit into 6.0 tree (rafal:1.2615) BUG#36134rsomla16 Apr