mariadb/storage/innobase
Annamalai Gurusami e8fa04cee0 Bug #16806366 BOGUS CALL TO LOCK_REC_RESTORE_FROM_PAGE_INFIMUM IN
INSERT BUFFER MERGE

Problem:

When the record is merged from the change buffer to the actual page,
in a particular condition, it is assumed that the deleted rec will
be re-used by the inserted rec.  With this assumption the lock is
restored on the pointer to the deleted rec itself, thinking that
it is pointing to the newly inserted rec.

Solution:

Just before restoring the lock, update the rec pointer to point
to the newly inserted record.  An assert has been added to verify
this.  This assert will fail without the fix and will pass with
the fix.

rb#2449 in review by Marko and Jimmy
2013-05-16 10:26:09 +05:30
..
btr Bug #14676111 WRONG PAGE_LEVEL WRITTEN FOR UPPER THAN FATHER PAGE AT BTR_LIFT_PAGE_UP() 2012-11-12 22:31:30 +09:00
buf Bug#13418934 REMOVE HAVE_PURIFY DEPENDENCES FROM INNODB 2011-12-28 12:19:30 +02:00
data Applying InnoDB snapshot 5.1-ss6242, part 4. Fixes BUG#48526 2009-11-30 14:23:52 +05:30
dict Bug #16722314 FOREIGN KEY ID MODIFIED DURING EXPORT 2013-05-06 16:28:56 +05:30
dyn Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
eval Remove redundant variable 2010-09-14 12:11:00 +03:00
fil Bug#13636122 THE ORIGINAL TABLE MISSING WHILE EXECUTE THE DDL 'ALTER TABLE ADD COLUMN 2012-01-31 09:31:31 -05:00
fsp Bug #11766634 59783: InnoDB data grows unexpectedly when inserting, 2012-03-09 11:07:16 +05:30
fut Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
ha Cherry-pick some changes from innodb-5.1-ss2545 snapshot. Includes fixes for 2008-08-20 16:18:33 -06:00
handler Bug #16722314 FOREIGN KEY ID MODIFIED DURING EXPORT 2013-05-06 16:28:56 +05:30
ibuf Bug #16806366 BOGUS CALL TO LOCK_REC_RESTORE_FROM_PAGE_INFIMUM IN 2013-05-16 10:26:09 +05:30
include Bug #16722314 FOREIGN KEY ID MODIFIED DURING EXPORT 2013-05-06 16:28:56 +05:30
lock Bug#59354 : Bug #12659252 : ASSERT !OTHER_LOCK AT LOCK_REC_ADD_TO_QUEUE DURING A DELETE OPERATION 2012-11-28 17:05:23 +09:00
log Bug#16405422 - RECOVERY FAILURE, ASSERT !RECV_NO_LOG_WRITE 2013-04-30 20:39:12 +02:00
mach Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
mem Bug#13418934 REMOVE HAVE_PURIFY DEPENDENCES FROM INNODB 2011-12-28 12:19:30 +02:00
mtr Revert most of revno 3560.9.1 (Bug#12704861) 2011-10-26 11:44:28 +03:00
os Fix compilation error in debug mode: 2012-10-10 22:22:10 +03:00
page Revert revno:3452.71.32 (Bug#12612184 fix). 2011-10-26 12:23:57 +03:00
pars Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
que (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6 2010-09-14 13:39:52 +03:00
read Applied InnoDB snapshot innodb-5.1-ss2298 2008-02-19 09:44:09 -07:00
rem Fix Bug#30423 "InnoDBs treatment of NULL in index stats causes bad 2011-01-14 09:02:28 -08:00
row Bug #16722314 FOREIGN KEY ID MODIFIED DURING EXPORT 2013-05-06 16:28:56 +05:30
srv Bug#16292043 RACE CONDITION IN SRV_EXPORT_INNODB_STATUS() WHEN ACCESSING PURGE_SYS->VIEW 2013-02-08 09:22:46 +02:00
sync Bug#13997024 SEGV IN SYNC_ARRAY_CELL_PRINT PRINTING OUT LONG SEMAPHORE WAIT DATA 2013-01-10 10:01:50 +11:00
thr Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
trx Bug#59354 : Bug #12659252 : ASSERT !OTHER_LOCK AT LOCK_REC_ADD_TO_QUEUE DURING A DELETE OPERATION 2012-11-28 17:05:23 +09:00
usr Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
ut Bug#13418934 REMOVE HAVE_PURIFY DEPENDENCES FROM INNODB 2011-12-28 12:19:30 +02:00
CMakeLists.txt Import branches/5.1@r6912 from SVN on top of storage/innobase 2010-03-31 10:17:04 +03:00
Makefile.am Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
plug.in Import branches/5.1@r6912 from SVN on top of storage/innobase 2010-03-31 10:17:04 +03:00