MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Serge Kozlov Date:November 27 2008 12:04pm
Subject:bzr commit into mysql-5.1 branch (skozlov:2705) Bug#40708
View as plain text  
#At file:///home/ksm/sun/repo/bugs-39903-40145-40708/mysql-5.1-rpl/ based on revid:sven@stripped

 2705 Serge Kozlov	2008-11-27
      Bug#40708: Sometimes DB mysqltest1 did not removed before
      starting test rpl_row_create_table therefore the patch add 
      the cleanup operation if DB with such name already exists. 
modified:
  mysql-test/suite/rpl/r/rpl_row_create_table.result
  mysql-test/suite/rpl/t/rpl_row_create_table.test

=== modified file 'mysql-test/suite/rpl/r/rpl_row_create_table.result'
--- a/mysql-test/suite/rpl/r/rpl_row_create_table.result	2008-10-23 19:27:09 +0000
+++ b/mysql-test/suite/rpl/r/rpl_row_create_table.result	2008-11-27 12:04:48 +0000
@@ -436,11 +436,13 @@ reset master;
 reset slave;
 drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 start slave;
+DROP DATABASE IF EXISTS mysqltest1;
 CREATE DATABASE mysqltest1;
 CREATE TABLE mysqltest1.without_select (f1 BIGINT);
 CREATE TABLE mysqltest1.with_select AS SELECT 1 AS f1;
 show binlog events from <binlog_start>;
 Log_name	Pos	Event_type	Server_id	End_log_pos	Info
+master-bin.000001	#	Query	#	#	DROP DATABASE IF EXISTS mysqltest1
 master-bin.000001	#	Query	#	#	CREATE DATABASE mysqltest1
 master-bin.000001	#	Query	#	#	use `test`; CREATE TABLE mysqltest1.without_select (f1 BIGINT)
 master-bin.000001	#	Query	#	#	use `test`; BEGIN

=== modified file 'mysql-test/suite/rpl/t/rpl_row_create_table.test'
--- a/mysql-test/suite/rpl/t/rpl_row_create_table.test	2008-10-23 19:27:09 +0000
+++ b/mysql-test/suite/rpl/t/rpl_row_create_table.test	2008-11-27 12:04:48 +0000
@@ -266,6 +266,9 @@ sync_slave_with_master;
 source include/master-slave-reset.inc;
 
 connection master;
+--disable_warnings
+DROP DATABASE IF EXISTS mysqltest1;
+--enable_warnings
 CREATE DATABASE mysqltest1;
 
 CREATE TABLE mysqltest1.without_select (f1 BIGINT);

Thread
bzr commit into mysql-5.1 branch (skozlov:2705) Bug#40708Serge Kozlov27 Nov