mariadb/storage/innobase/row
Annamalai Gurusami 76e690fb37 Bug #19140907 DUPLICATES IN UNIQUE SECONDARY INDEX BECAUSE OF FIX OF BUG#68021
Problem:

When a unique secondary index is scanned for duplicate checking, gap locks
were not taken if the transaction had isolation level <= READ COMMITTED. 
This change was done while fixing Bug #16133801 UNEXPLAINABLE INNODB UNIQUE
INDEX LOCKS ON DELETE + INSERT WITH SAME VALUES (rb#2035). Because of this
the duplicate check logic failed, and resulted in duplicate values in unique
secondary index.

Solution:

When a unique secondary index is scanned for duplicate checking, gap locks
must be taken irrespective of the transaction isolation level.  This is
achieved by reverting rb#2035.

rb#5910 approved by Jimmy
2014-07-03 10:13:29 +05:30
..
row0ext.c Fixing the bug 16919882 - WRONG FSF ADDRESS IN LICENSES HEADERS 2013-06-10 22:29:41 +02:00
row0ins.c Bug #19140907 DUPLICATES IN UNIQUE SECONDARY INDEX BECAUSE OF FIX OF BUG#68021 2014-07-03 10:13:29 +05:30
row0merge.c Bug 16876388 - PLEASE BACKPORT BUG#16208542 TO 5.5 2013-06-25 09:42:54 +08:00
row0mysql.c Merge from mysql-5.1 to mysql-5.5 2013-07-25 15:31:06 +05:30
row0purge.c Merge mysql-5.1 to mysql-5.5. 2011-09-26 10:08:42 +03:00
row0row.c Merge mysql-5.1 to mysql-5.5. 2012-02-27 23:24:36 +02:00
row0sel.c post-push fix for bug#17565888/bug#14621190 2013-10-28 17:08:31 +01:00
row0uins.c Merge mysql-5.1 to mysql-5.5. 2013-08-14 10:24:36 +03:00
row0umod.c Merge mysql-5.1 to mysql-5.5. 2013-08-15 15:34:12 +03:00
row0undo.c Fixing the bug 16919882 - WRONG FSF ADDRESS IN LICENSES HEADERS 2013-06-10 22:29:41 +02:00
row0upd.c Bug#18185930 UPD_NODE_INSERT_BLOB CAUSES BTR_EXTERN_OWNER_FLAG ASSERTION 2014-02-11 16:44:37 +05:30
row0vers.c Fixing the bug 16919882 - WRONG FSF ADDRESS IN LICENSES HEADERS 2013-06-10 22:29:41 +02:00