List:Commits« Previous MessageNext Message »
From:Serge Kozlov Date:April 23 2008 9:51am
Subject:bk commit into 6.0 tree (skozlov:1.2626) BUG#32673
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of skozlov.  When skozlov 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-23 13:50:50+04:00, skozlov@stripped +3 -0
  Bug#32673, added sorting for SELECT via ORDER BY and --sorted_result

  mysql-test/extra/rpl_tests/rpl_row_sp002.test@stripped, 2008-04-23 13:50:44+04:00, skozlov@stripped +13 -5
    test case

  mysql-test/suite/rpl/r/rpl_row_sp002_innodb.result@stripped, 2008-04-23 13:50:45+04:00, skozlov@stripped +8 -8
    updated result file

  mysql-test/suite/rpl/t/disabled.def@stripped, 2008-04-23 13:50:45+04:00, skozlov@stripped +0 -1
    updated disbaled.def

diff -Nrup a/mysql-test/extra/rpl_tests/rpl_row_sp002.test b/mysql-test/extra/rpl_tests/rpl_row_sp002.test
--- a/mysql-test/extra/rpl_tests/rpl_row_sp002.test	2007-03-29 22:31:01 +04:00
+++ b/mysql-test/extra/rpl_tests/rpl_row_sp002.test	2008-04-23 13:50:44 +04:00
@@ -56,6 +56,7 @@ delimiter ;|
 let $message=< -- test 1 call p1 -- >;
 --source include/show_msg.inc
 SET FOREIGN_KEY_CHECKS=1;
+--connection master
 call test.p1('texas');
 call test.p1('Live');
 call test.p1('next');
@@ -65,7 +66,7 @@ call test.p1('MySQL');
 
 let $message=< -- test 1 select master after p1 -- >;
 --source include/show_msg.inc
-
+--sorted_result
 SELECT * FROM test.t1;
 SELECT * FROM test.t2;
 
@@ -74,6 +75,7 @@ let $message=< -- test 1 select slave af
 save_master_pos;
 connection slave;
 sync_with_master;
+--sorted_result
 SELECT * FROM test.t1;
 SELECT * FROM test.t2;
 
@@ -81,6 +83,7 @@ let $message=< -- test 1 call p2 & selec
 --source include/show_msg.inc
 connection master;
 call test.p2(4);
+--sorted_result
 SELECT * FROM test.t1;
 SELECT * FROM test.t2;
 
@@ -89,6 +92,7 @@ let $message=< -- test 1 select slave af
 save_master_pos;
 connection slave;
 sync_with_master;
+--sorted_result
 SELECT * FROM test.t1;
 SELECT * FROM test.t2;
 
@@ -131,6 +135,7 @@ CALL test.p1(6,'MySQL');
 
 let $message=< -- test 2 select Master after p1 -- >;
 --source include/show_msg.inc
+--sorted_result
 SELECT * FROM test.t1;
 SELECT * FROM test.t2;
 
@@ -139,6 +144,7 @@ let $message=< -- test 2 select Slave af
 save_master_pos;
 connection slave;
 sync_with_master;
+--sorted_result
 SELECT * FROM test.t1;
 SELECT * FROM test.t2;
 
@@ -148,6 +154,7 @@ connection master;
 CALL test.p2(2);
 CALL test.p2(4);
 CALL test.p2(6);
+--sorted_result
 SELECT * FROM test.t1;
 SELECT * FROM test.t2;
 
@@ -156,6 +163,7 @@ let $message=< -- test 1 select Slave af
 save_master_pos;
 connection slave;
 sync_with_master;
+--sorted_result
 SELECT * FROM test.t1;
 SELECT * FROM test.t2;
 
@@ -194,11 +202,11 @@ while ($n)
 -- enable_query_log
 
 ROLLBACK;
-select * from test.t3;
+SELECT * FROM test.t3 ORDER BY a;
 save_master_pos;
 connection slave;
 sync_with_master;
-select * from test.t3;
+SELECT * FROM test.t3 ORDER BY a;
 
 connection master;
 START TRANSACTION;
@@ -215,11 +223,11 @@ while ($n>3)
 -- enable_query_log
 
 COMMIT;
-select * from test.t3;
+SELECT * FROM test.t3 ORDER BY a;
 save_master_pos;
 connection slave;
 sync_with_master;
-select * from test.t3;
+SELECT * FROM test.t3 ORDER BY a;
 
 connection master;
 #show binlog events from 1627;
diff -Nrup a/mysql-test/suite/rpl/r/rpl_row_sp002_innodb.result b/mysql-test/suite/rpl/r/rpl_row_sp002_innodb.result
--- a/mysql-test/suite/rpl/r/rpl_row_sp002_innodb.result	2007-06-27 16:27:30 +04:00
+++ b/mysql-test/suite/rpl/r/rpl_row_sp002_innodb.result	2008-04-23 13:50:45 +04:00
@@ -169,10 +169,10 @@ CALL test.p2(6);
 SELECT * FROM test.t1;
 a	t
 1	texas
-3	next
-5	OK
 20	Live
+3	next
 40	to
+5	OK
 60	MySQL
 SELECT * FROM test.t2;
 a	f
@@ -188,10 +188,10 @@ a	f
 SELECT * FROM test.t1;
 a	t
 1	texas
-3	next
-5	OK
 20	Live
+3	next
 40	to
+5	OK
 60	MySQL
 SELECT * FROM test.t2;
 a	f
@@ -217,16 +217,16 @@ end|
 SET AUTOCOMMIT=0;
 START TRANSACTION;
 ROLLBACK;
-select * from test.t3;
+SELECT * FROM test.t3 ORDER BY a;
 a	t
-select * from test.t3;
+SELECT * FROM test.t3 ORDER BY a;
 a	t
 START TRANSACTION;
 COMMIT;
-select * from test.t3;
+SELECT * FROM test.t3 ORDER BY a;
 a	t
 98	NONE
-select * from test.t3;
+SELECT * FROM test.t3 ORDER BY a;
 a	t
 98	NONE
 SET AUTOCOMMIT=1;
diff -Nrup a/mysql-test/suite/rpl/t/disabled.def b/mysql-test/suite/rpl/t/disabled.def
--- a/mysql-test/suite/rpl/t/disabled.def	2008-03-30 11:17:06 +04:00
+++ b/mysql-test/suite/rpl/t/disabled.def	2008-04-23 13:50:45 +04:00
@@ -23,7 +23,6 @@ rpl_extraColmaster_innodb  : BUG#30854 :
 rpl_extraColmaster_myisam  : BUG#30854
 rpl_view                   : Bug#32654: rpl_view.test fails randomly
 rpl_ndb_multi              : Bug#30751: rpl_ndb_multi missing row in output
-rpl_row_sp002_innodb       : Bug#32673 rpl_row_sp002_innodb.test fails randomly
 rpl_ssl                    : Bug#32217 rpl_ssl fails with different number of records on master and slave
 rpl_row_until              : Bug#28772 rpl_row_until fails in pushbuild
 rpl_log_pos                : Bug#8693 Test 'rpl_log_pos' fails sometimes
Thread
bk commit into 6.0 tree (skozlov:1.2626) BUG#32673Serge Kozlov23 Apr