List:Commits« Previous MessageNext Message »
From:tomas Date:February 1 2006 9:07am
Subject:bk commit into 5.1 tree (tomas:1.2118)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas 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
  1.2118 06/02/01 10:07:04 tomas@stripped +2 -0
  adjust test to give predictable output

  mysql-test/t/ndb_binlog_ddl_multi.test
    1.3 06/02/01 10:06:57 tomas@stripped +6 -8
    adjust test to give predictable output

  mysql-test/r/ndb_binlog_ddl_multi.result
    1.3 06/02/01 10:06:57 tomas@stripped +6 -19
    adjust test to give predictable output

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	tomas
# Host:	poseidon.ndb.mysql.com
# Root:	/home/tomas/mysql51

--- 1.2/mysql-test/r/ndb_binlog_ddl_multi.result	2006-02-01 02:33:55 +01:00
+++ 1.3/mysql-test/r/ndb_binlog_ddl_multi.result	2006-02-01 10:06:57 +01:00
@@ -20,9 +20,6 @@
 master-bin.000001	#	Query	#	#	use `test`; create table t2 (a int primary key) engine=ndb
 reset master;
 reset master;
-use mysqltest;
-drop table test.t2;
-create table t2 (a int primary key) engine=ndb;
 alter table t2 add column (b int);
 show binlog events from 102;
 Log_name	Pos	Event_type	Server_id	End_log_pos	Info
@@ -30,18 +27,12 @@
 master-bin1.000001	#	Table_map	#	#	cluster_replication.apply_status
 master-bin1.000001	#	Write_rows	#	#	
 master-bin1.000001	#	Query	#	#	COMMIT
-master-bin1.000001	#	Query	#	#	use `mysqltest`; drop table test.t2
-master-bin1.000001	#	Query	#	#	use `mysqltest`; create table t2 (a int primary key) engine=ndb
-master-bin1.000001	#	Query	#	#	BEGIN
-master-bin1.000001	#	Table_map	#	#	cluster_replication.apply_status
-master-bin1.000001	#	Write_rows	#	#	
-master-bin1.000001	#	Query	#	#	COMMIT
-master-bin1.000001	#	Query	#	#	use `mysqltest`; alter table t2 add column (b int)
+master-bin1.000001	#	Query	#	#	use `test`; alter table t2 add column (b int)
 reset master;
 reset master;
 ALTER DATABASE mysqltest CHARACTER SET latin1;
-insert into t1 values (1);
-drop table t1;
+insert into mysqltest.t1 values (1);
+drop table mysqltest.t1;
 show binlog events from 102;
 Log_name	Pos	Event_type	Server_id	End_log_pos	Info
 master-bin.000001	#	Query	#	#	ALTER DATABASE mysqltest CHARACTER SET latin1
@@ -58,25 +49,21 @@
 master-bin.000001	#	Query	#	#	use `mysqltest`; drop table `t1`
 reset master;
 reset master;
+use test;
 insert into t2 values (1,2);
 drop database mysqltest;
-use test;
 create table t1 (a int primary key) engine=ndb;
-use test;
 show binlog events from 102;
 Log_name	Pos	Event_type	Server_id	End_log_pos	Info
 master-bin1.000001	#	Query	#	#	BEGIN
 master-bin1.000001	#	Table_map	#	#	cluster_replication.apply_status
 master-bin1.000001	#	Write_rows	#	#	
-master-bin1.000001	#	Table_map	#	#	mysqltest.t2
-master-bin1.000001	#	Write_rows	#	#	
-master-bin1.000001	#	Query	#	#	COMMIT
-master-bin1.000001	#	Query	#	#	BEGIN
-master-bin1.000001	#	Table_map	#	#	cluster_replication.apply_status
+master-bin1.000001	#	Table_map	#	#	test.t2
 master-bin1.000001	#	Write_rows	#	#	
 master-bin1.000001	#	Query	#	#	COMMIT
 master-bin1.000001	#	Query	#	#	drop database mysqltest
 master-bin1.000001	#	Query	#	#	use `test`; create table t1 (a int primary key) engine=ndb
+drop table t2;
 reset master;
 reset master;
 CREATE LOGFILE GROUP lg1

--- 1.2/mysql-test/t/ndb_binlog_ddl_multi.test	2006-02-01 02:33:55 +01:00
+++ 1.3/mysql-test/t/ndb_binlog_ddl_multi.test	2006-02-01 10:06:57 +01:00
@@ -48,10 +48,6 @@
 reset master;
 
 --connection server2
-use mysqltest;
-#alter table test.t2 rename t2;
-drop table test.t2;
-create table t2 (a int primary key) engine=ndb;
 alter table t2 add column (b int);
 
 --connections server1
@@ -71,8 +67,8 @@
 
 # drop table and drop should come after data events
 --connection server2
-insert into t1 values (1);
-drop table t1;
+insert into mysqltest.t1 values (1);
+drop table mysqltest.t1;
 
 --connection server1
 --replace_column 2 # 4 # 5 # 
@@ -86,15 +82,17 @@
 reset master;
 
 --connection server1
+use test;
 insert into t2 values (1,2);
 drop database mysqltest;
-use test;
 create table t1 (a int primary key) engine=ndb;
 
 --connection server2
-use test;
 --replace_column 2 # 4 # 5 # 
 --eval show binlog events from $binlog_start
+
+--connection server2
+drop table t2;
 
 # logfile groups and table spaces
 --connection server1
Thread
bk commit into 5.1 tree (tomas:1.2118)tomas1 Feb