mariadb/storage/innobase
Timothy Smith f6bf85c09e Complete application of InnoDB snapshot innodb-5.1-ss2545.
Fix race condition which could result in freeing a struct that is
still in use by another thread.


Detailed revision comments:

r2537 | inaam | 2008-07-15 20:46:03 +0300 (Tue, 15 Jul 2008) | 12 lines
branches/5.1   issue# 4

Fixed a timing hole where a thread dropping an index can free the
in-memory index struct while another thread is still using
that structure to remove entries from adaptive hash index belonging
to one of the pages that belongs to the index being dropped.

The fix is to have a reference counter in the index struct and to
wait for this counter to drop to zero beforing freeing the struct.

Reviewed by: Heikki

r2543 | inaam | 2008-07-22 18:57:43 +0300 (Tue, 22 Jul 2008) | 7 lines
branches/5.1:

Removed UNIV_INLINE qualifier from btr_search_info_get_ref_count().
Otherwise compilation failed on non-debug builds.

Pointed by: Vasil
2008-12-14 12:25:33 -07:00
..
btr Complete application of InnoDB snapshot innodb-5.1-ss2545. 2008-12-14 12:25:33 -07:00
buf Cherry-pick some changes from innodb-5.1-ss2479 snapshot. Includes fixes for 2008-08-19 18:37:41 -06:00
data Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
dict Complete application of InnoDB snapshot innodb-5.1-ss2545. 2008-12-14 12:25:33 -07:00
dyn Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
eval Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
fil Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
fsp Apply snapshot innodb-51-ss1644 2007-07-24 19:34:31 -06:00
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 Complete applying InnoDB snapshot innodb-5.1-ss2479. Fixes 2008-12-14 12:15:12 -07:00
ibuf Apply snapshot innodb-5.1-ss1989 2007-11-06 15:42:58 -07:00
include Complete application of InnoDB snapshot innodb-5.1-ss2545. 2008-12-14 12:25:33 -07:00
lock Cherry-pick some changes from innodb-5.1-ss2545 snapshot. Includes fixes for 2008-08-20 16:18:33 -06:00
log Apply InnoDB snapshot innodb-5.1-ss1726. 2007-08-24 19:14:52 -06:00
mach Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
mem Apply snapshot innodb-5.1-ss1989 2007-11-06 15:42:58 -07:00
mtr Apply InnoDB snapshot innodb-5.1-ss1751. 2007-08-25 03:55:38 -06:00
os Complete applying InnoDB snapshot innodb-5.1-ss2479. Fixes 2008-12-14 12:15:12 -07:00
page Apply snapshot innodb-51-ss1644 2007-07-24 19:34:31 -06:00
pars Apply InnoDB snapshot innodb-5.1-ss1751. 2007-08-25 03:55:38 -06:00
que Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
read Applied InnoDB snapshot innodb-5.1-ss2298 2008-02-19 09:44:09 -07:00
rem Apply snapshot innodb-51-ss1644 2007-07-24 19:34:31 -06:00
row Completing snapshot innodb-5.1-ss2438, part 2. Fixes 2008-12-14 11:26:53 -07:00
srv Complete application of InnoDB snapshot innodb-5.1-ss2485, part 2. Fixes 2008-12-14 12:21:24 -07:00
sync Applied InnoDB snapshot innodb-5.1-ss2298 2008-02-19 09:44:09 -07:00
thr Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
trx apply snapshot innodb-5.1-ss2387 2008-03-27 15:13:10 +01:00
usr Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
ut Complete application of InnoDB snapshot innodb-5.1-ss2485, part 1. Fixes 2008-12-14 12:18:59 -07:00
CMakeLists.txt Bug #34297: MySQL Server crashes when processing large table 2008-05-09 00:38:17 -06:00
Makefile.am Completing snapshot innodb-5.1-ss2438, part 3. 2008-12-14 11:54:01 -07:00
plug.in Completing snapshot innodb-5.1-ss2438, part 3. 2008-12-14 11:54:01 -07:00