mariadb/storage/innobase
Marko Mäkelä aed6b87145 Bug#14636528 INNODB CHANGE BUFFERING IS NOT ENTIRELY CRASH-SAFE
Delete-mark change buffer records when resorting to a pessimistic
delete from the change buffer B-tree. Skip delete-marked records in
the change buffer merge and when estimating whether an operation can
be buffered. Without this fix, we could try to apply the same buffered
changes multiple times if the server was killed at the right moment.

In MySQL 5.5 and later: ibuf_get_volume_buffered_count_func(): Ignore
delete-marked (already processed) records.

ibuf_delete_rec(): Add a crash point before optimistic delete. If the
optimistic delete fails, flag the record processed before
mtr_commit().

ibuf_merge_or_delete_for_page(): Ignore delete-marked (already
processed) records.

Backport to 5.1: Rename btr_cur_del_unmark_for_ibuf() to
btr_cur_set_deleted_flag_for_ibuf() and add a parameter.

rb:1307 approved by Jimmy Yang
2012-09-19 22:35:38 +03:00
..
btr Bug#14636528 INNODB CHANGE BUFFERING IS NOT ENTIRELY CRASH-SAFE 2012-09-19 22:35:38 +03: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 Merge from mysql-5.1.63-release 2012-05-08 07:19:14 +02:00
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#14636528 INNODB CHANGE BUFFERING IS NOT ENTIRELY CRASH-SAFE 2012-09-19 22:35:38 +03:00
ibuf Bug#14636528 INNODB CHANGE BUFFERING IS NOT ENTIRELY CRASH-SAFE 2012-09-19 22:35:38 +03:00
include Bug#14636528 INNODB CHANGE BUFFERING IS NOT ENTIRELY CRASH-SAFE 2012-09-19 22:35:38 +03:00
lock (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6 2010-09-14 12:37:03 +03:00
log Bug #11766513 - 59641: Prepared XA transaction in system after hard crash 2011-04-07 21:12:54 +03: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 Bug#13418934 REMOVE HAVE_PURIFY DEPENDENCES FROM INNODB 2011-12-28 12:19:30 +02:00
page Revert revno:3452.71.32 (Bug#12612184 fix). 2011-10-26 12:23:57 +03:00
pars Apply InnoDB snapshot innodb-5.1-ss1751. 2007-08-25 03:55:38 -06: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 Merge from mysql-5.1.63-release 2012-05-08 07:19:14 +02:00
srv Bug#11877216 InnoDB too eager to commit suicide on a busy server 2011-03-30 14:25:58 +03:00
sync Bug#11758510 (#50723): INNODB CHECK TABLE FATAL SEMAPHORE WAIT TIMEOUT POSSIBLY TOO SHORT FOR BI 2012-04-27 19:38:13 +09:00
thr Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
trx Merge from mysql-5.0 2012-03-28 13:35:44 +11: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#53445: Build with -Wall and fix warnings that it generates 2010-07-09 08:37:51 -03:00
plug.in Import branches/5.1@r6912 from SVN on top of storage/innobase 2010-03-31 10:17:04 +03:00