mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
35 lines
1.5 KiB
Text
35 lines
1.5 KiB
Text
|
######################## rpl_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..
|
||
|
#
|
||
|
# 3. The assignment of the DDL command to be tested to $my_stmt can
|
||
|
# be a bit difficult. "'" must be avoided, because the test
|
||
|
# routine "include/rpl_stmt_seq.inc" performs a
|
||
|
# eval SELECT CONCAT('######## ','$my_stmt',' ########') as "";
|
||
|
#
|
||
|
|
||
|
--source include/have_innodb.inc
|
||
|
--source include/master-slave.inc
|
||
|
let $engine_type= "InnoDB";
|
||
|
-- source extra/rpl_tests/rpl_ddl.test
|