diff options
Diffstat (limited to 'mysql-test/suite/rpl_ndb/t/rpl_ndb_ddl.test')
-rw-r--r-- | mysql-test/suite/rpl_ndb/t/rpl_ndb_ddl.test | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl_ndb/t/rpl_ndb_ddl.test b/mysql-test/suite/rpl_ndb/t/rpl_ndb_ddl.test new file mode 100644 index 00000000000..654d1c08944 --- /dev/null +++ b/mysql-test/suite/rpl_ndb/t/rpl_ndb_ddl.test @@ -0,0 +1,33 @@ +#################### rpl_ndb_ddl.test ######################## +# # +# DDL statements (sometimes with implicit COMMIT) executed # +# by the master and it's propagation into the slave # +# # +############################################################## + +# +# NOTE, PLEASE BE CAREFUL, WHEN MODIFYING THE TESTS !! +# +# 1. !All! objects to be dropped, renamed, altered ... must be created +# in AUTOCOMMIT= 1 mode before AUTOCOMMIT is set to 0 and the test +# sequences start. +# +# 2. Never use a test object, which was direct or indirect affected by a +# preceeding test sequence again. +# Except table d1.t1 where ONLY DML is allowed. +# +# If one preceeding test sequence hits a (sometimes not good visible, +# because the sql error code of the statement might be 0) bug +# and these rules are ignored, a following test sequence might earn ugly +# effects like failing 'sync_slave_with_master', crashes of the slave or +# abort of the test case etc.. +# + +--source include/have_ndb.inc +--source include/have_binlog_format_mixed_or_row.inc +--source include/ndb_master-slave.inc +let $engine_type= NDB; +let $temp_engine_type= MEMORY; +let $show_binlog = 0; +let $manipulate = 0; +-- source extra/rpl_tests/rpl_ddl.test |