3470 Magnus Blåudd 2011-04-27
BUG#47741 rpl_ndb_extraCol fails in next-mr (mysql-5.1-rep+2) in RBR
- fix the fix to properly detect when engine is NDB and
also don't drop the table t9 if it hasn't been created
modified:
mysql-test/extra/rpl_tests/rpl_extra_col_slave.test
3469 Sergey Glukhov 2011-04-27 [merge]
5.1 -> 5.5 merge
@ mysql-test/r/func_time.result
5.1 -> 5.5 merge
@ mysql-test/t/func_time.test
5.1 -> 5.5 merge
@ sql-common/my_time.c
5.1 -> 5.5 merge
@ sql/item_timefunc.cc
5.1 -> 5.5 merge
modified:
mysql-test/r/func_time.result
mysql-test/t/func_time.test
sql-common/my_time.c
sql/item_timefunc.cc
=== modified file 'mysql-test/extra/rpl_tests/rpl_extra_col_slave.test'
--- a/mysql-test/extra/rpl_tests/rpl_extra_col_slave.test 2011-02-23 11:54:58 +0000
+++ b/mysql-test/extra/rpl_tests/rpl_extra_col_slave.test 2011-04-27 09:02:34 +0000
@@ -396,7 +396,7 @@ sync_slave_with_master;
# Error reaction is up to sql_mode of the slave sql (bug#38173)
#--echo *** Create t9 on slave ***
# Please, check BUG#47741 to see why you are not testing NDB.
-if ($engine_type != NDB)
+if (`SELECT UPPER(LEFT($engine_type, 3)) != 'NDB'`)
{
STOP SLAVE;
RESET SLAVE;
@@ -440,12 +440,13 @@ if ($engine_type != NDB)
#--let $slave_skip_counter= 2
#--let $show_slave_sql_error= 1
#--source include/wait_for_slave_sql_error_and_skip.inc
-}
-#--echo *** Drop t9 ***
-connection master;
-DROP TABLE t9;
-sync_slave_with_master;
+ #--echo *** Drop t9 ***
+ connection master;
+ DROP TABLE t9;
+ sync_slave_with_master;
+
+}
############################################
# More columns in slave at middle of table #
No bundle (reason: useless for push emails).| Thread |
|---|
| • bzr push into mysql-5.5 branch (magnus.blaudd:3469 to 3470) Bug#47741 | Magnus Blåudd | 27 Apr |