mariadb/storage
Annamalai Gurusami 59b43c7965 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 14:05:05 +05:30
..
archive Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
blackhole Updated/added copyright headers 2011-06-30 17:37:13 +02:00
csv Updated/added copyright headers 2011-06-30 17:37:13 +02:00
example Updated/added copyright headers 2011-06-30 17:37:13 +02:00
federated Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
heap Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
innobase Bug #16806366 BOGUS CALL TO LOCK_REC_RESTORE_FROM_PAGE_INFIMUM IN 2013-05-16 14:05:05 +05:30
innodb_plugin Bug #16806366 BOGUS CALL TO LOCK_REC_RESTORE_FROM_PAGE_INFIMUM IN 2013-05-16 14:05:05 +05:30
myisam Correcting the permissions of executable files. 2013-03-20 17:49:30 +01:00
myisammrg Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
ndb Correcting the permissions of executable files. 2013-03-20 17:49:30 +01:00
Makefile.am Updated/added copyright headers 2011-06-30 17:37:13 +02:00
mysql_storage_engine.cmake Updated/added copyright headers 2011-06-30 17:37:13 +02:00