mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
76e690fb37
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 |
||
---|---|---|
.. | ||
row0ext.c | ||
row0ins.c | ||
row0merge.c | ||
row0mysql.c | ||
row0purge.c | ||
row0row.c | ||
row0sel.c | ||
row0uins.c | ||
row0umod.c | ||
row0undo.c | ||
row0upd.c | ||
row0vers.c |