1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-20 05:03:09 +03:00
Files
mariadb/mysql-test/suite/rpl/t/rpl_row_conflicts.test
Michael Widenius 58bb0769bd Merge with MySQL 5.1.55
- Fixed some issues with partitions and connection_string, which also fixed lp:716890 "Pre- and post-recovery crash in Aria"
- Fixed wrong assert in Aria

Now need to merge with latest xtradb before pushing 

sql/ha_partition.cc:
  Ensure that m_ordered_rec_buffer is not freed before close.
sql/mysqld.cc:
  Changed to use opt_stack_trace instead of opt_pstack.
  Removed references to pstack
sql/partition_element.h:
  Ensure that connect_string is initialized
storage/maria/ma_key_recover.c:
  Fixed wrong assert
2011-02-20 18:51:43 +02:00

35 lines
979 B
Plaintext

# See the top of mysql-test/extra/rpl_tests/rpl_conflicts.test for
# explanation of what this test does.
#
# This test file is for row-logging mode. It runs the test twice, with
# slave_exec_mode=STRICT and slave_exec_mode=IDEMPOTENT, respectively.
source include/have_binlog_format_row.inc;
source include/master-slave.inc;
connection slave;
call mtr.add_suppression("Slave: Can\'t find record in \'t1\' Error_code: .*");
call mtr.add_suppression("Can't find record in 't.'");
--echo [on slave]
connection slave;
SET @old_slave_exec_mode= @@global.slave_exec_mode;
--echo ######## Run with slave_exec_mode=STRICT ########
SET @@global.slave_exec_mode = 'STRICT';
source extra/rpl_tests/rpl_conflicts.test;
--source include/rpl_reset.inc
--echo ######## Run with slave_exec_mode=IDEMPOTENT ########
set @@global.slave_exec_mode= 'IDEMPOTENT';
source extra/rpl_tests/rpl_conflicts.test;
SET @@global.slave_exec_mode= @old_slave_exec_mode;
--source include/rpl_end.inc