mariadb/mysql-test/suite/innodb/r
Marko Mäkelä a0a51251e4 Bug#11759688 52020: InnoDB can still deadlock on just INSERT...ON DUPLICATE KEY
a.k.a. Bug#7975 deadlock without any locking, simple select and update

Bug#7975 was reintroduced when the storage engine API was made
pluggable in MySQL 5.1. Instead of looking at thd->lex directly, we
rely on handler::extra(). But, we were looking at the wrong extra()
flag, and we were ignoring the TRX_DUP_REPLACE flag in places where we
should obey it.

innodb_replace.test: Add tests for hopefully all affected statement
types, so that bug should never ever resurface. This kind of tests
should have been added when fixing Bug#7975 in MySQL 5.0.3 in the
first place.

rb:806 approved by Sunny Bains
2011-11-10 12:49:31 +02:00
..
innodb-autoinc-44030.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb-autoinc-optimize.result Move some InnoDB tests to mysql-test/suite/innodb. 2010-06-03 12:50:32 +03:00
innodb-autoinc.result Bug#39828 : Autoinc wraps around when offset and increment > 1 2010-12-13 14:48:12 +03:00
innodb-lock.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb-replace.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb-semi-consistent.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb-ucs2.result Move some InnoDB tests to mysql-test/suite/innodb. 2010-06-03 12:50:32 +03:00
innodb.result Factor out innodb_multi_update.test from innodb.test 2010-05-05 13:40:01 +03:00
innodb_autoinc_lock_mode_zero.result Move some InnoDB tests to mysql-test/suite/innodb. 2010-06-03 12:50:32 +03:00
innodb_bug21704.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug30423.result Fix Bug#30423 "InnoDBs treatment of NULL in index stats causes bad 2011-01-14 09:02:28 -08:00
innodb_bug30919.result Move some InnoDB tests to mysql-test/suite/innodb. 2010-06-03 12:50:32 +03:00
innodb_bug34053.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug34300.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug35220.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug38231.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug39438.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug40565.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug42101-nonzero.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug42101.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug42419.result Move some InnoDB tests to mysql-test/suite/innodb. 2010-06-03 12:50:32 +03:00
innodb_bug44369.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug45357.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug46000.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug47621.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug47777.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00
innodb_bug48024.result Make the InnoDB FOREIGN KEY parser understand multi-statements. (Bug #48024) 2010-05-14 16:02:28 +03:00
innodb_bug49164.result Add an innodb test case for Bug #49164. 2010-05-10 13:37:52 +02:00
innodb_bug51920.result mysql-5.1-innodb: add error codes to innodb_bug51920.test 2010-04-22 14:16:14 -05:00
innodb_bug52663.result row_search_for_mysql(): Never try semi-consistent read in unique searches. 2010-04-26 13:27:25 +03:00
innodb_bug53674.result Bug#53674: InnoDB: Error: unlock row could not find a 4 mode lock on the record 2010-06-02 13:26:37 +03:00
innodb_bug53756.result Add innodb_bug53756-master.opt for innodb_bug53756 test. 2010-07-05 19:26:38 -07:00
innodb_bug54044.result Change the table name in innodb_bug54044 to lower case to avoid 2010-06-29 00:13:18 -07:00
innodb_bug56143.result Fix Bug#56143 too many foreign keys causes output of show create table to become invalid 2010-10-13 20:18:59 +03:00
innodb_bug56680.result Bug #56680 wrong InnoDB results from a case-insensitive covering index 2010-10-19 08:58:53 +03:00
innodb_bug56716.result Bug#56716 InnoDB locks a record gap without locking the table 2010-10-04 13:05:21 +03:00
innodb_bug57252.result Fix Bug#57252 disabling innobase_stats_on_metadata disables ANALYZE 2010-10-18 13:48:11 +03:00
innodb_bug57255.result Fix Bug #57255 Cascade Delete results in "Got error -1 from storage engine". 2010-10-06 03:41:26 -07:00
innodb_bug59410.result Add the testcase for Bug#59410 to 5.1/builtin 2011-04-05 11:08:36 +03:00
innodb_bug59641.result Bug #11766513 - 59641: Prepared XA transaction in system after hard crash 2011-04-07 21:12:54 +03:00
innodb_bug60049.result Add a test for suspected Bug#60049. 2011-02-15 12:12:27 +02:00
innodb_gis.result Fix for bug #58650 "Failing assertion: primary_key_no == -1 || 2011-02-02 16:17:48 +03:00
innodb_lock_wait_timeout_1.result Move some InnoDB tests to mysql-test/suite/innodb. 2010-06-03 12:50:32 +03:00
innodb_misc1.result Split the innodb.innodb mysql-test. 2010-04-27 09:09:08 +03:00
innodb_multi_update.result Fixed following problems: 2010-12-14 12:33:03 +03:00
innodb_mysql.result Fix for bug #11762012 - "54553: INNODB ASSERTS IN 2011-05-26 17:14:47 +04:00
innodb_mysql_rbk.result Move some InnoDB tests to mysql-test/suite/innodb. 2010-06-03 12:50:32 +03:00
innodb_notembedded.result Move some InnoDB tests to mysql-test/suite/innodb. 2010-06-03 12:50:32 +03:00
innodb_replace.result Bug#11759688 52020: InnoDB can still deadlock on just INSERT...ON DUPLICATE KEY 2011-11-10 12:49:31 +02:00
innodb_timeout_rollback.result Move some InnoDB tests to mysql-test/suite/innodb. 2010-06-03 12:50:32 +03:00
innodb_trx_weight.result Remove outdated InnoDB Plugin tests from mysql-test/suite/innodb, 2010-04-12 14:56:24 +03:00