mariadb/mysql-test/extra/rpl_tests
Mats Kindahl e3708c231e Bug #36763
TRUNCATE TABLE fails to replicate when stmt-based binlogging is not supported.

There were two separate problems with the code, both of which are fixed with
this patch:

1. An error was printed by InnoDB for TRUNCATE TABLE in statement mode when
   the in isolation levels READ COMMITTED and READ UNCOMMITTED since InnoDB
   does permit statement-based replication for DML statements. However,
   the TRUNCATE TABLE is not transactional, but is a DDL, and should therefore
   be allowed to be replicated as a statement.

2. The statement was not logged in mixed mode because of the error above, but
   the error was not reported to the client.

This patch fixes the problem by treating TRUNCATE TABLE a DDL, that is, it is
always logged as a statement and not reporting an error from InnoDB for TRUNCATE
TABLE.
2009-02-06 17:06:41 +01:00
..
rpl_auto_increment.test BUG#41986 Replication slave does not pick up proper AUTO_INCREMENT value for Innodb tables 2009-01-14 16:27:32 +08:00
rpl_blackhole.test Bug #38360: BLACKHOLE replication with RBR is broken 2008-10-02 21:13:15 +02:00
rpl_charset.test
rpl_commit_after_flush.test
rpl_ddl.test Upmerge 5.0 -> 5.1 of fix for 2008-08-25 15:09:51 +02:00
rpl_deadlock.test
rpl_delete_no_where.test
rpl_EE_err.test Merge 5.0 -> 5.1 2008-09-30 15:32:35 -04:00
rpl_extraMaster_Col.test
rpl_extraSlave_Col.test Bug #22234 Extra Slave Col: Slave should stop on Error Field d of table 2008-03-06 20:32:47 +02:00
rpl_failed_optimize.test
rpl_flsh_tbls.test
rpl_foreign_key.test
rpl_insert_delayed.test
rpl_insert_id.test Bug #32124: crash if prepared statements refer to variables in the where clause 2008-10-08 14:23:53 +03:00
rpl_insert_id_pk.test
rpl_insert_ignore.test
rpl_loaddata.test Post-merge fixes. 2008-03-14 17:52:57 +01:00
rpl_log.test Merging 5.0-bugteam into 5.1-bugteam 2008-09-01 11:00:52 +02:00
rpl_max_relay_size.test
rpl_multi_query.test
rpl_multi_update.test
rpl_multi_update2.test
rpl_multi_update3.test
rpl_ndb_2multi_basic.test
rpl_ndb_2multi_eng.test
rpl_ndb_apply_status.test
rpl_partition.test
rpl_relayrotate.test
rpl_reset_slave.test
rpl_row_001.test
rpl_row_basic.test bug#38230 2008-11-06 19:10:09 +02:00
rpl_row_blob.test
rpl_row_delayed_ins.test BUG#29020 (Event results not correctly replicated to slave in RBR): 2008-03-28 13:16:41 +01:00
rpl_row_func003.test
rpl_row_sp002.test
rpl_row_sp003.test
rpl_row_sp006.test
rpl_row_sp007.test
rpl_row_tabledefs.test
rpl_row_UUID.test
rpl_stm_000001.test
rpl_stm_EE_err2.test
rpl_sv_relay_space.test
rpl_trig004.test
rpl_truncate.test Bug #36763 2009-02-06 17:06:41 +01:00
rpl_truncate_helper.test Bug #36763 2009-02-06 17:06:41 +01:00