diff options
author | Marko Mäkelä <marko.makela@oracle.com> | 2011-11-07 09:28:02 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@oracle.com> | 2011-11-07 09:28:02 +0200 |
commit | 6852a3264248dd12939a47d4eee8492a4f0c83a9 (patch) | |
tree | a9ac5148c68946c9e1f948759c64be413fffd946 /plugin | |
parent | d946b1d3689349e7593407411ca609002accf976 (diff) | |
download | mariadb-git-6852a3264248dd12939a47d4eee8492a4f0c83a9.tar.gz |
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
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions