MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Luis Soares Date:January 31 2009 7:44pm
Subject:bzr commit into mysql-5.1-bugteam branch (luis.soares:2767) Bug#35583
View as plain text  
#At file:///home/lsoares/Workspace/mysql-server/bugfix/binlog_tmp_table/5.1-bt/

 2767 Luis Soares	2009-01-31
      BUG#35583: mysqlbinlog replay fails with ERROR 1146 when temp tables are used
      
      The test case proposed by the bugfix fails in bugteam trees after merging new 
      mtr from main. The failure is due to the fact that the binlog file location has
      changed and is no more under $MYSQLTEST_VARDIR/log.
      
      This patch fixes the test failure by setting the correct path to the binlog 
      file.
modified:
  mysql-test/suite/binlog/t/binlog_tmp_table.test

=== modified file 'mysql-test/suite/binlog/t/binlog_tmp_table.test'
--- a/mysql-test/suite/binlog/t/binlog_tmp_table.test	2009-01-28 14:35:12 +0000
+++ b/mysql-test/suite/binlog/t/binlog_tmp_table.test	2009-01-31 19:44:00 +0000
@@ -75,7 +75,8 @@ drop table foo;
 create table foo (a int);
 
 # replay from binary log
-exec $MYSQL_BINLOG $MYSQLTEST_VARDIR/log/master-bin.000002 | $MYSQL;
+let $MYSQLD_DATADIR= `select @@datadir`;
+exec $MYSQL_BINLOG $MYSQLD_DATADIR/master-bin.000002 | $MYSQL;
 select * from foo;
 
 # clean up

Thread
bzr commit into mysql-5.1-bugteam branch (luis.soares:2767) Bug#35583Luis Soares31 Jan