marko
35f83441a0
branches/zip: Simplify lock_mode_stronger_or_eq() and lock_mode_compatible()
...
and introduce enum lock_mode.
lock_mode_stronger_or_eq(), lock_mode_compatible(): Replace if-then-else
chain with a bitwise and against a constant.
2007-02-01 20:56:23 +00:00
marko
90b7b8abf5
branches/zip: Add __attribute__((const)) or __attribute__((pure))
...
to all fold functions.
2007-01-03 12:34:54 +00:00
marko
9b0a89867e
branches/zip: Remove all buf_block_align() calls from lock0lock.c.
...
Replace all page_t* parameters with buf_block_t*, and replace many
rec_t* parameters with heap_no. This eliminates also many
rec_get_heap_no() calls, which became more expensive with the
introduction of ROW_FORMAT=COMPACT in MySQL/InnoDB 5.0.3.
page_rec_get_heap_no(), lock_get_min_heap_no(): New functions.
2006-10-24 06:45:52 +00:00
marko
c659b59a5d
branches/zip: Eliminate many buf_block_align() calls.
...
Replace page_t* or page_zip_des_t* parameters in some functions with
buf_block_t*.
buf_frame_get_page_zip(): Disable unless #ifdef UNIV_DEBUG || UNIV_ZIP_DEBUG.
btr_cur_t: Add buf_block_t* page_block.
btr_pcur_get_block(), btr_cur_get_block(), btr_cur_get_page_zip():
New functions.
btr_cur_position(): Add the parameter block.
2006-10-18 11:39:31 +00:00
marko
450bbd7c3b
branches/zip: Merge revisions 265:459 from trunk.
2006-04-12 09:32:17 +00:00
marko
f40121415d
branches/zip: Merge revisions 200:236 from trunk.
2006-02-23 19:25:29 +00:00
marko
6ce8427cb8
branches/zip: Merge revisions 79:200 from trunk.
2006-02-17 14:19:39 +00:00
osku
c307820962
Import 5.0 code.
2005-10-27 07:29:40 +00:00