mariadb/btr
marko 0efd5d663e Reduce the size of btr_search_t from 13 machine words to 7. This
structure is reserved for every index in the data dictionary cache.
(Bug #20877)

We could shrink the structure further to three 32-bit words or two
64-bit words by turning the remaining fields to bit-fields.
Unfortunately, the fields are not protected by any mutex, and thus we
would better keep each field aligned to a machine word.

btr_search_t, buf_block_t: Rename "ulint side" to "ibool left_side".
Remove BTR_SEARCH_LEFT_SIDE and BTR_SEARCH_RIGHT_SIDE, and also rename
some local variables and function parameters from "ulint side" to
"ibool left_side".

btr_search_t: Remove the unused fields last_search, n_direction, direction,
and modify_clock.  Remove the unused constants BTR_SEA_NO_DIRECTION,
BTR_SEA_LEFT, BTR_SEA_RIGHT, and BTR_SEA_SAME_REC.

btr_search_t: Remove magic_n unless #defined UNIV_DEBUG.  Turn an assertion
about the magic number into a debug assertion.
2006-09-14 20:42:46 +00:00
..
btr0btr.c Minor cleanup related to Bug #20877. 2006-09-14 20:37:15 +00:00
btr0cur.c Remove more remnants of mixed indexes. 2006-09-14 09:07:54 +00:00
btr0pcur.c Split lines before binary operators, not after them. 2006-08-29 08:27:56 +00:00
btr0sea.c Reduce the size of btr_search_t from 13 machine words to 7. This 2006-09-14 20:42:46 +00:00
Makefile.am Import 5.0 code. 2005-10-27 07:29:40 +00:00