List:Commits« Previous MessageNext Message »
From:Jonathan Miller Date:February 8 2006 1:08pm
Subject:bk commit into 5.1 tree (jmiller:1.2083)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of ndbdev. When ndbdev 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.2083 06/02/08 13:08:19 jmiller@stripped +17 -0
  More updates for using NDB as default and some bug fixes along the way

  mysql-test/r/rpl_ndb_log.result
    1.2 06/02/08 12:54:26 jmiller@stripped +8 -2
    update results file

  mysql-test/r/rpl_row_blob_myisam.result
    1.2 06/02/08 02:58:05 jmiller@stripped +2 -2
    Updated results

  mysql-test/r/rpl_row_blob_innodb.result
    1.2 06/02/08 02:46:48 jmiller@stripped +2 -2
    Updated results

  mysql-test/t/rpl_row_blob_innodb-slave.opt
    1.1 06/02/08 02:46:13 jmiller@stripped +1 -0
    Added slave option file to ensure correct engine type on slave

  mysql-test/t/rpl_row_blob_innodb-slave.opt
    1.0 06/02/08 02:46:13 jmiller@stripped +0 -0
    BitKeeper file
/home/ndbdev/jmiller/clones/mysql-5.1-new/mysql-test/t/rpl_row_blob_innodb-slave.opt

  mysql-test/t/rpl_row_blob_innodb.test
    1.2 06/02/08 02:45:35 jmiller@stripped +1 -1
    Fixed bug in test case

  mysql-test/r/rpl_row_001.result
    1.2 06/02/08 02:27:39 jmiller@stripped +9 -9
    updated to work with NDB as default engine

  mysql-test/extra/rpl_tests/rpl_row_001.test
    1.2 06/02/08 02:27:29 jmiller@stripped +2 -2
    updated to work with NDB as default engine

  mysql-test/r/rpl_temporary.result
    1.20 06/02/07 23:43:25 jmiller@stripped +7 -7
    updated to work with NDB engine

  mysql-test/t/rpl_temporary.test
    1.17 06/02/07 23:43:16 jmiller@stripped +12 -7
    updated to work with NDB engine

  mysql-test/r/rpl_row_trig002.result
    1.2 06/02/07 22:08:10 jmiller@stripped +10 -4
    updated to work with NDB engine

  mysql-test/t/rpl_row_trig002.test
    1.2 06/02/07 22:08:00 jmiller@stripped +6 -4
    updated to work with NDB engine

  mysql-test/r/rpl_sporadic_master.result
    1.8 06/02/07 18:23:58 jmiller@stripped +1 -1
    updated to wrk with ndb

  mysql-test/t/rpl_sporadic_master.test
    1.11 06/02/07 18:23:48 jmiller@stripped +4 -1
    updated to wrk with ndb

  mysql-test/r/rpl_skip_error.result
    1.7 06/02/07 18:13:10 jmiller@stripped +1 -1
    updated to wrk with ndb

  mysql-test/t/rpl_skip_error.test
    1.7 06/02/07 18:13:00 jmiller@stripped +4 -1
    updated to wrk with ndb

  mysql-test/r/rpl_insert_id.result
    1.13 06/02/07 16:32:32 jmiller@stripped +11 -11
    Updated wiht 1022 error, order by and PK for use with NDB engine

  mysql-test/extra/rpl_tests/rpl_insert_id.test
    1.2 06/02/07 16:32:19 jmiller@stripped +14 -11
    Updated wiht 1022 error, order by and PK for use with NDB engine

# 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:	jmiller
# Host:	ndb08.mysql.com
# Root:	/home/ndbdev/jmiller/clones/mysql-5.1-new

--- 1.1/mysql-test/r/rpl_ndb_log.result	2006-02-06 23:11:27 +01:00
+++ 1.2/mysql-test/r/rpl_ndb_log.result	2006-02-08 12:54:26 +01:00
@@ -32,6 +32,8 @@
 master-bin.000001	#	Query	1	#	BEGIN
 master-bin.000001	#	Table_map	1	#	cluster_replication.apply_status
 master-bin.000001	#	Write_rows	1	#	
+master-bin.000001	#	Table_map	1	#	test.t1
+master-bin.000001	#	Write_rows	1	#	
 master-bin.000001	#	Query	1	#	COMMIT
 master-bin.000001	#	Query	1	#	use `test`; drop table t1
 show binlog events from 102 limit 1;
@@ -68,6 +70,8 @@
 master-bin.000001	#	Query	1	#	BEGIN
 master-bin.000001	#	Table_map	1	#	cluster_replication.apply_status
 master-bin.000001	#	Write_rows	1	#	
+master-bin.000001	#	Table_map	1	#	test.t1
+master-bin.000001	#	Write_rows	1	#	
 master-bin.000001	#	Query	1	#	COMMIT
 master-bin.000001	#	Query	1	#	use `test`; drop table t1
 master-bin.000001	#	Rotate	1	#	master-bin.000002;pos=4
@@ -90,12 +94,12 @@
 master-bin.000002	#	Query	1	#	use `test`; drop table t1
 show binary logs;
 Log_name	File_size
-master-bin.000001	1087
+master-bin.000001	1798
 master-bin.000002	991
 start slave;
 show binary logs;
 Log_name	File_size
-slave-bin.000001	1494
+slave-bin.000001	2205
 slave-bin.000002	583
 show binlog events in 'slave-bin.000001' from 4;
 Log_name	Pos	Event_type	Server_id	End_log_pos	Info
@@ -111,6 +115,8 @@
 slave-bin.000001	#	Query	1	#	use `test`; create table t1 (word char(20) not
null)ENGINE=NDB
 slave-bin.000001	#	Query	2	#	BEGIN
 slave-bin.000001	#	Table_map	2	#	cluster_replication.apply_status
+slave-bin.000001	#	Write_rows	2	#	
+slave-bin.000001	#	Table_map	2	#	test.t1
 slave-bin.000001	#	Write_rows	2	#	
 slave-bin.000001	#	Query	2	#	COMMIT
 slave-bin.000001	#	Query	1	#	use `test`; drop table t1

--- 1.1/mysql-test/r/rpl_row_blob_innodb.result	2006-01-05 03:55:47 +01:00
+++ 1.2/mysql-test/r/rpl_row_blob_innodb.result	2006-02-08 02:46:48 +01:00
@@ -9,7 +9,7 @@
 *****  Table Create Section ****
 
 CREATE TABLE test.t1 (c1 int not null auto_increment, 
-data LONGBLOB, PRIMARY KEY(c1))ENGINE=$engine_type;
+data LONGBLOB, PRIMARY KEY(c1))ENGINE=engine_type;
 
 **** Data Insert Section test.t1 *****
 
@@ -76,7 +76,7 @@
 c2 TEXT,
 c3 INT,
 c4 LONGBLOB,
-KEY(c3))ENGINE=$engine_type;
+KEY(c3))ENGINE=engine_type;
 
 *** Setup Values For test.t2 ***
 set @x0 = '01234567012345670123456701234567';

--- 1.1/mysql-test/r/rpl_row_blob_myisam.result	2006-01-05 03:55:29 +01:00
+++ 1.2/mysql-test/r/rpl_row_blob_myisam.result	2006-02-08 02:58:05 +01:00
@@ -9,7 +9,7 @@
 *****  Table Create Section ****
 
 CREATE TABLE test.t1 (c1 int not null auto_increment, 
-data LONGBLOB, PRIMARY KEY(c1))ENGINE=$engine_type;
+data LONGBLOB, PRIMARY KEY(c1))ENGINE=engine_type;
 
 **** Data Insert Section test.t1 *****
 
@@ -76,7 +76,7 @@
 c2 TEXT,
 c3 INT,
 c4 LONGBLOB,
-KEY(c3))ENGINE=$engine_type;
+KEY(c3))ENGINE=engine_type;
 
 *** Setup Values For test.t2 ***
 set @x0 = '01234567012345670123456701234567';
--- New file ---
+++ mysql-test/t/rpl_row_blob_innodb-slave.opt	06/02/08 02:46:13
--innodb


--- 1.1/mysql-test/t/rpl_row_blob_innodb.test	2006-01-05 03:54:32 +01:00
+++ 1.2/mysql-test/t/rpl_row_blob_innodb.test	2006-02-08 02:45:35 +01:00
@@ -2,6 +2,6 @@
 # Wrapper for rpl_row_blob.test#
 #################################
 -- source include/have_innodb.inc
-let $engine_type=INNODB;
+let $engine_type=InnoDB;
 -- source extra/rpl_tests/rpl_row_blob.test
 

--- 1.1/mysql-test/extra/rpl_tests/rpl_insert_id.test	2005-12-22 06:34:50 +01:00
+++ 1.2/mysql-test/extra/rpl_tests/rpl_insert_id.test	2006-02-07 16:32:19 +01:00
@@ -1,3 +1,6 @@
+###########################################################
+# 2006-02-01: By JBM: Added 1022, ORDER BY and PK for NDB
+###########################################################
 # See if queries that use both auto_increment and LAST_INSERT_ID()
 # are replicated well
 
@@ -7,16 +10,16 @@
 #should work for both SBR and RBR
 
 connection master;
-create table t1(a int auto_increment, key(a));
-create table t2(b int auto_increment, c int, key(b));
+create table t1(a int auto_increment, PRIMARY key(a));
+create table t2(b int auto_increment, c int, PRIMARY key(b));
 insert into t1 values (1),(2),(3);
 insert into t1 values (null);
 insert into t2 values (null,last_insert_id());
 save_master_pos;
 connection slave;
 sync_with_master;
-select * from t1;
-select * from t2;
+select * from t1 ORDER BY a;
+select * from t2 ORDER BY b;
 connection master;
 #check if multi-line inserts,
 #which set last_insert_id to the first id inserted,
@@ -44,18 +47,18 @@
 
 drop table t2;
 drop table t1;
-create table t1(a int auto_increment, key(a));
-create table t2(b int auto_increment, c int, key(b));
+create table t1(a int auto_increment, PRIMARY key(a));
+create table t2(b int auto_increment, c int, PRIMARY key(b));
 insert into t1 values (10);
 insert into t1 values (null),(null),(null);
 insert into t2 values (5,0);
-insert into t2 (c) select * from t1;
-select * from t2;
+insert into t2 (c) select * from t1 ORDER BY a;
+select * from t2 ORDER BY b;
 save_master_pos;
 connection slave;
 sync_with_master;
-select * from t1;
-select * from t2;
+select * from t1 ORDER BY a;
+select * from t2 ORDER BY b;
 connection master;
 drop table t1;
 drop table t2;
@@ -71,7 +74,7 @@
 SET TIMESTAMP=1000000000;
 CREATE TABLE t1 ( a INT UNIQUE );
 SET FOREIGN_KEY_CHECKS=0;
---error 1062
+--error 1022, 1062
 INSERT INTO t1 VALUES (1),(1);
 sync_slave_with_master;
 

--- 1.1/mysql-test/extra/rpl_tests/rpl_row_001.test	2005-12-22 06:34:50 +01:00
+++ 1.2/mysql-test/extra/rpl_tests/rpl_row_001.test	2006-02-08 02:27:29 +01:00
@@ -5,7 +5,7 @@
 LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1;
 --replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
 eval LOAD DATA LOCAL INFILE '$MYSQL_TEST_DIR/std_data/words.dat' INTO TABLE t1;
-SELECT * FROM t1 LIMIT 10;
+SELECT * FROM t1  ORDER BY word LIMIT 10;
 
 #
 # Test slave with wrong password
@@ -30,7 +30,7 @@
 CREATE TABLE t3(n INT);
 INSERT INTO t3 VALUES(1),(2);
 sync_slave_with_master;
-SELECT * FROM t3;
+SELECT * FROM t3 ORDER BY n;
 SELECT SUM(LENGTH(word)) FROM t1;
 connection master;
 DROP TABLE t1,t3;

--- 1.1/mysql-test/r/rpl_row_001.result	2005-12-22 06:34:52 +01:00
+++ 1.2/mysql-test/r/rpl_row_001.result	2006-02-08 02:27:39 +01:00
@@ -7,25 +7,25 @@
 CREATE TABLE t1 (word CHAR(20) NOT NULL);
 LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1;
 LOAD DATA LOCAL INFILE 'MYSQL_TEST_DIR/std_data/words.dat' INTO TABLE t1;
-SELECT * FROM t1 LIMIT 10;
+SELECT * FROM t1  ORDER BY word LIMIT 10;
 word
 Aarhus
+Aarhus
+Aarhus
+Aarhus
+Aaron
 Aaron
+Aaron
+Aaron
+Ababa
 Ababa
-aback
-abaft
-abandon
-abandoned
-abandoning
-abandonment
-abandons
 STOP SLAVE;
 SET PASSWORD FOR root@"localhost" = PASSWORD('foo');
 START SLAVE;
 SET PASSWORD FOR root@"localhost" = PASSWORD('');
 CREATE TABLE t3(n INT);
 INSERT INTO t3 VALUES(1),(2);
-SELECT * FROM t3;
+SELECT * FROM t3 ORDER BY n;
 n
 1
 2

--- 1.1/mysql-test/r/rpl_row_trig002.result	2005-12-22 06:34:57 +01:00
+++ 1.2/mysql-test/r/rpl_row_trig002.result	2006-02-07 22:08:10 +01:00
@@ -13,14 +13,14 @@
 CREATE TABLE test.t1 (id INT,domain CHAR(30),PRIMARY KEY(id));
 CREATE TRIGGER test.t2_ai AFTER INSERT ON test.t2 FOR EACH ROW UPDATE test.t3 ms, test.t1
d  SET ms.value='No' WHERE ms.domain_id = (SELECT max(id) FROM test.t1 WHERE
domain='example.com') AND ms.mailaccount_id IS NULL  AND ms.program='spamfilter' AND
ms.keey='scan_incoming'|
 INSERT INTO test.t1 VALUES (1, 'example.com'),(2, 'mysql.com'),(3,
'earthmotherwear.com'), (4, 'yahoo.com'),(5, 'example.com');
-select * from test.t1;
+SELECT * FROM test.t1 ORDER BY id;
 id	domain
 1	example.com
 2	mysql.com
 3	earthmotherwear.com
 4	yahoo.com
 5	example.com
-select * from test.t1;
+SELECT * FROM test.t1 ORDER BY id;
 id	domain
 1	example.com
 2	mysql.com
@@ -45,13 +45,19 @@
 No	5	NULL	spamfilter	scan_incoming
 Yes	1	NULL	spamfilter	scan_incoming
 DELETE FROM test.t1 WHERE id = 1;
-select * from test.t1;
+SELECT * FROM test.t1 ORDER BY id;
 id	domain
 2	mysql.com
 3	earthmotherwear.com
 4	yahoo.com
 5	example.com
-select * from test.t1;
+SELECT * FROM test.t1 ORDER BY id;
+id	domain
+2	mysql.com
+3	earthmotherwear.com
+4	yahoo.com
+5	example.com
+SELECT * FROM test.t1 ORDER BY id;
 id	domain
 2	mysql.com
 3	earthmotherwear.com

--- 1.1/mysql-test/t/rpl_row_trig002.test	2005-12-22 06:35:06 +01:00
+++ 1.2/mysql-test/t/rpl_row_trig002.test	2006-02-07 22:08:00 +01:00
@@ -37,12 +37,12 @@
 
 INSERT INTO test.t1 VALUES (1, 'example.com'),(2, 'mysql.com'),(3,
'earthmotherwear.com'), (4, 'yahoo.com'),(5, 'example.com');
 
-select * from test.t1;
+SELECT * FROM test.t1 ORDER BY id;
 #show binlog events;
 save_master_pos;
 connection slave;
 sync_with_master;
-select * from test.t1;
+SELECT * FROM test.t1 ORDER BY id;
 connection master;
 
 INSERT INTO test.t3 VALUES ('Yes', 5, NULL, 'spamfilter','scan_incoming');
@@ -60,11 +60,13 @@
 
 DELETE FROM test.t1 WHERE id = 1;
 
-select * from test.t1;
+SELECT * FROM test.t1 ORDER BY id;
+connection master;
+SELECT * FROM test.t1 ORDER BY id;
 save_master_pos;
 connection slave;
 sync_with_master;
-select * from test.t1;
+SELECT * FROM test.t1 ORDER BY id;
 connection master;
 
 #show binlog events; 

--- 1.12/mysql-test/r/rpl_insert_id.result	2005-02-24 17:33:29 +01:00
+++ 1.13/mysql-test/r/rpl_insert_id.result	2006-02-07 16:32:32 +01:00
@@ -4,18 +4,18 @@
 reset slave;
 drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 start slave;
-create table t1(a int auto_increment, key(a));
-create table t2(b int auto_increment, c int, key(b));
+create table t1(a int auto_increment, PRIMARY key(a));
+create table t2(b int auto_increment, c int, PRIMARY key(b));
 insert into t1 values (1),(2),(3);
 insert into t1 values (null);
 insert into t2 values (null,last_insert_id());
-select * from t1;
+select * from t1 ORDER BY a;
 a
 1
 2
 3
 4
-select * from t2;
+select * from t2 ORDER BY b;
 b	c
 1	4
 drop table t1;
@@ -40,26 +40,26 @@
 6	11
 drop table t2;
 drop table t1;
-create table t1(a int auto_increment, key(a));
-create table t2(b int auto_increment, c int, key(b));
+create table t1(a int auto_increment, PRIMARY key(a));
+create table t2(b int auto_increment, c int, PRIMARY key(b));
 insert into t1 values (10);
 insert into t1 values (null),(null),(null);
 insert into t2 values (5,0);
-insert into t2 (c) select * from t1;
-select * from t2;
+insert into t2 (c) select * from t1 ORDER BY a;
+select * from t2 ORDER BY b;
 b	c
 5	0
 6	10
 7	11
 8	12
 9	13
-select * from t1;
+select * from t1 ORDER BY a;
 a
 10
 11
 12
 13
-select * from t2;
+select * from t2 ORDER BY b;
 b	c
 5	0
 6	10
@@ -72,4 +72,4 @@
 CREATE TABLE t1 ( a INT UNIQUE );
 SET FOREIGN_KEY_CHECKS=0;
 INSERT INTO t1 VALUES (1),(1);
-ERROR 23000: Duplicate entry '1' for key 1
+Got one of the listed errors

--- 1.6/mysql-test/r/rpl_skip_error.result	2004-03-20 11:31:15 +01:00
+++ 1.7/mysql-test/r/rpl_skip_error.result	2006-02-07 18:13:10 +01:00
@@ -8,7 +8,7 @@
 insert into t1 values (1);
 insert into t1 values (1);
 insert into t1 values (2),(3);
-select * from t1;
+select * from t1 ORDER BY n;
 n
 1
 2

--- 1.7/mysql-test/r/rpl_sporadic_master.result	2002-10-25 01:46:13 +02:00
+++ 1.8/mysql-test/r/rpl_sporadic_master.result	2006-02-07 18:23:58 +01:00
@@ -15,7 +15,7 @@
 flush logs;
 truncate table t1;
 insert into t1 values (10),(NULL),(NULL),(NULL),(NULL),(NULL);
-select * from t1;
+select * from t1 ORDER BY n;
 n
 10
 11

--- 1.6/mysql-test/t/rpl_skip_error.test	2005-09-15 16:17:20 +02:00
+++ 1.7/mysql-test/t/rpl_skip_error.test	2006-02-07 18:13:00 +01:00
@@ -1,3 +1,6 @@
+##########################################
+# 2006-02-07 By JBM: Added order by
+#########################################
 source include/master-slave.inc;
 
 create table t1 (n int not null primary key);
@@ -11,6 +14,6 @@
 save_master_pos;
 connection slave;
 sync_with_master;
-select * from t1;
+select * from t1 ORDER BY n;
 
 # End of 4.1 tests

--- 1.10/mysql-test/t/rpl_sporadic_master.test	2005-07-28 02:21:49 +02:00
+++ 1.11/mysql-test/t/rpl_sporadic_master.test	2006-02-07 18:23:48 +01:00
@@ -1,3 +1,6 @@
+#############################################################
+# 2006-02-07 By JBM added order by
+#############################################################
 # test to see if replication can continue when master sporadically fails on
 # COM_BINLOG_DUMP and additionally limits the number of events per dump
 
@@ -18,7 +21,7 @@
 truncate table t1;
 insert into t1 values (10),(NULL),(NULL),(NULL),(NULL),(NULL);
 sync_slave_with_master;
-select * from t1;
+select * from t1 ORDER BY n;
 connection master;
 drop table t1,t2;
 sync_slave_with_master;

--- 1.19/mysql-test/r/rpl_temporary.result	2005-12-22 05:10:58 +01:00
+++ 1.20/mysql-test/r/rpl_temporary.result	2006-02-07 23:43:25 +01:00
@@ -24,15 +24,15 @@
 create table t1(f int);
 create table t2(f int);
 insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
-create temporary table t3(f int);
+create temporary table t3(f int)ENGINE=MyISAM;
 insert into t3 select * from t1 where f<6;
-create temporary table t3(f int);
+create temporary table t3(f int)ENGINE=MyISAM;
 insert into t2 select count(*) from t3;
 insert into t3 select * from t1 where f>=4;
 drop temporary table t3;
 insert into t2 select count(*) from t3;
 drop temporary table t3;
-select * from t2;
+select * from t2 ORDER BY f;
 f
 5
 7
@@ -46,13 +46,13 @@
 insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
 SET TIMESTAMP=1040323945;
 SET @@session.pseudo_thread_id=1;
-create temporary table t3(f int);
+create temporary table t3(f int)ENGINE=MyISAM;
 SET TIMESTAMP=1040323952;
 SET @@session.pseudo_thread_id=1;
 insert into t3 select * from t1 where f<6;
 SET TIMESTAMP=1040324145;
 SET @@session.pseudo_thread_id=2;
-create temporary table t3(f int);
+create temporary table t3(f int)ENGINE=MyISAM;
 SET TIMESTAMP=1040324186;
 SET @@session.pseudo_thread_id=1;
 insert into t2 select count(*) from t3;
@@ -68,9 +68,9 @@
 SET TIMESTAMP=1040324224;
 SET @@session.pseudo_thread_id=2;
 drop temporary table t3;
-select * from t2;
+select * from t2 ORDER BY f;
 f
 5
 7
 drop table t1,t2;
-create temporary table t3 (f int);
+create temporary table t3 (f int)ENGINE=MyISAM;

--- 1.16/mysql-test/t/rpl_temporary.test	2005-12-22 05:10:58 +01:00
+++ 1.17/mysql-test/t/rpl_temporary.test	2006-02-07 23:43:16 +01:00
@@ -1,3 +1,8 @@
+#########################################################
+# 2006-02-07 By JBM according to 16552 MyISAM should be used
+# As work around for NDB using temp tables.
+##########################################################
+
 -- source include/master-slave.inc
 
 # Clean up old slave's binlogs.
@@ -55,12 +60,12 @@
 insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
 
 connection con1;
-create temporary table t3(f int);
+create temporary table t3(f int)ENGINE=MyISAM;
 insert into t3 select * from t1 where f<6;
 sleep 1;
 
 connection con2;
-create temporary table t3(f int);
+create temporary table t3(f int)ENGINE=MyISAM;
 sleep 1;
 
 connection con1;
@@ -79,7 +84,7 @@
 insert into t2 select count(*) from t3;
 drop temporary table t3;
 
-select * from t2;
+select * from t2 ORDER BY f;
 
 # Commented out 8/30/2005 to make compatable with both sbr and rbr
 #--replace_result $VERSION VERSION
@@ -98,13 +103,13 @@
 
 SET TIMESTAMP=1040323945;
 SET @@session.pseudo_thread_id=1;
-create temporary table t3(f int);
+create temporary table t3(f int)ENGINE=MyISAM;
 SET TIMESTAMP=1040323952;
 SET @@session.pseudo_thread_id=1;
 insert into t3 select * from t1 where f<6;
 SET TIMESTAMP=1040324145;
 SET @@session.pseudo_thread_id=2;
-create temporary table t3(f int);
+create temporary table t3(f int)ENGINE=MyISAM;
 SET TIMESTAMP=1040324186;
 SET @@session.pseudo_thread_id=1;
 insert into t2 select count(*) from t3;
@@ -121,13 +126,13 @@
 SET @@session.pseudo_thread_id=2;
 drop temporary table t3;
 
-select * from t2;
+select * from t2 ORDER BY f;
 drop table t1,t2;
 
 # Create last a temporary table that is not dropped at end to ensure that we
 # don't get any memory leaks for this
 
-create temporary table t3 (f int);
+create temporary table t3 (f int)ENGINE=MyISAM;
 sync_with_master;
 
 # The server will now close done
Thread
bk commit into 5.1 tree (jmiller:1.2083)Jonathan Miller8 Feb