mariadb/storage
Marko Mäkelä 0532b38fed Bug#13340047 LATCHING ORDER VIOLATION IN IBUF_SET_ENTRY_COUNTER()
ibuf_insert_low(), the only caller of ibuf_set_entry_counter(), will
have latched an insert buffer bitmap page in bitmap_mtr before
invoking ibuf_set_entry_counter(). The latching order forbids any
further pages to be latched.

ibuf_set_entry_counter(): Renamed to ibuf_get_entry_counter(),
simplified the code and added comments.

Added the following symbols for predefined field numbers in change
buffer records:

#define IBUF_REC_FIELD_SPACE	0	/*!< in the pre-4.1 format,
					the page number. later, the space_id */
#define IBUF_REC_FIELD_MARKER	1	/*!< starting with 4.1, a marker
					consisting of 1 byte that is 0 */
#define IBUF_REC_FIELD_PAGE	2	/*!< starting with 4.1, the
					page number */
#define IBUF_REC_FIELD_METADATA	3	/* the metadata field */
#define IBUF_REC_FIELD_USER	4	/* first user field */

rb:802 approved by Sunny Bains
2011-11-07 09:28:02 +02:00
..
archive bug#11758979 - 51252: ARCHIVE TABLES STILL FAIL UNDER STRESS 2011-10-21 16:19:58 +05:30
blackhole Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00
csv Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00
example Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00
federated Bug #11750417 40942: UNABLE TO INSTALL FEDERATED PLUGIN 2011-09-05 14:38:20 +02:00
heap Bug#11759349 -- Merge of patch from mysql-5.1. 2011-09-27 17:44:31 +05:30
innobase Bug#13340047 LATCHING ORDER VIOLATION IN IBUF_SET_ENTRY_COUNTER() 2011-11-07 09:28:02 +02:00
myisam Merge. 2011-10-21 09:35:07 +04:00
myisammrg Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00
ndb Merge from mysql-5.5.14-release 2011-07-06 01:13:50 +02:00
perfschema Merging into mysql-5.5.16-release. 2011-08-15 20:12:11 +02:00