mariadb/mysql-test/suite
Davi Arnaut 3c279d9a5a Bug#42643: InnoDB does not support replication of TRUNCATE TABLE
The problem was that TRUNCATE TABLE didn't take a exclusive
lock on a table if it resorted to truncating via delete of
all rows in the table. Specifically for InnoDB tables, this
could break proper isolation as InnoDB ends up aborting some
granted locks when truncating a table.

The solution is to take a exclusive metadata lock before
TRUNCATE TABLE can proceed. This guarantees that no other
transaction is using the table.

Incompatible change: Truncate via delete no longer fails
if sql_safe_updates is activated (this was a undocumented
side effect).
2010-05-25 17:01:38 -03:00
..
binlog Bug#42643: InnoDB does not support replication of TRUNCATE TABLE 2010-05-25 17:01:38 -03:00
bugs Bug #38205 Row-based Replication (RBR) causes inconsistencies: HA_ERR_FOUND_DUPP_KEY 2009-04-09 16:05:41 +03:00
engines Changes to result files in the engine suite - missed from previous commit 2010-05-04 13:39:17 -07:00
federated Patch for 47759 to trunk-bugfixing. 2010-05-05 09:35:38 +02:00
funcs_1 Patch for Bug#21818 (Return value of ROW_COUNT() is incorrect 2010-05-14 09:28:51 +04:00
funcs_2 merge 5.0-> 5.1 2009-04-24 13:00:17 -04:00
ibmdb2i Bug#49329 example (and other) engines use wrong collation for open tables hash 2009-12-11 12:31:16 +05:30
innodb WL#4738 streamline/simplify @@variable creation process 2009-12-22 10:35:56 +01:00
jp WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
large_tests bug#50296 2010-02-28 19:39:28 +02:00
manual manual merge for bug_29136, bug#29309. 2007-10-13 23:12:50 +03:00
ndb BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
ndb_team Merge BUG#43263 from 5.0-bugteam to 5.1-bugteam 2009-05-31 13:44:41 +08:00
parts Manual merge of mysql-trunk into mysql-trunk-merge. 2010-03-24 18:03:44 +03:00
perfschema BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
perfschema_stress WL#2360 Performance schema 2010-01-11 18:47:27 -07:00
rpl removing disabled line for rpl_row_create_table due to Bug#45576. Anyway, the test is still there because of Bug#51574 2010-05-16 22:28:20 +03:00
rpl_ndb rpl_ndb tests fixing results files due to Master_Info_File of bug#50316 2010-05-18 11:07:31 +03:00
stress Merge trift2.:/MySQL/M51/mysql-5.1 2008-02-22 16:14:27 +01:00
sys_vars BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00