mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +01:00
df22909536
Reason: This test executes DML statements on a NDB table to detect if some SQL statements of special interest commits the ongoing transaction. When running in MIXED mode, automatic switching from statement-based to row-based replication takes place when a DML statement updates an NDB table. That means running this test on NDB with binlog-format=mixed and binlog-format=row mostly checks the same routines twice. Therefore we skip the variant with binlog-format=mixed. mysql-test/t/rpl_ndb_ddl.test: Prevent the execution of this test if replication format is statement or mixed.
33 lines
1.4 KiB
Text
33 lines
1.4 KiB
Text
#################### 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/master-slave.inc
|
|
--source include/have_binlog_format_row.inc
|
|
--source include/have_ndb.inc
|
|
let $engine_type= NDB;
|
|
let $temp_engine_type= MEMORY;
|
|
let $show_binlog = 0;
|
|
let $manipulate = 0;
|
|
-- source extra/rpl_tests/rpl_ddl.test
|