mariadb/btr
marko 2e73922495 branches/zip: ibuf_set_free_bits_func(): Disable redo logging when
crash recovery is in progress.  This avoids a hang when
btr_parse_page_reorganize(), called from an I/O handler thread,
attempts to acquire log_sys->mutex while it is being held by
the main thread (the one that runs innobase_init()).  This change
was committed accidentally.  It may be unsafe to clear
mtr.modifications, because buf_page_release() at mtr_commit() may
forget to put modified pages to the flush list.

Cleanup: Remove the "type" parameter from many ibuf functions.
Let the caller check that !dict_index_is_clust().  This should avoid
function calls and register spilling.

ibuf_set_free_bits_func(), ibuf_set_free_bits(): Remove the parameter "type".

ibuf_reset_free_bits_with_type(): Rename to ibuf_reset_free_bits().
Remove the parameter "type".

ibuf_update_free_bits_if_full(), ibuf_update_free_bits_zip(),
ibuf_update_free_bits_low(), ibuf_update_free_bits_for_two_pages_low():
Remove the parameter "index".
2007-05-06 12:39:46 +00:00
..
btr0btr.c branches/zip: ibuf_set_free_bits_func(): Disable redo logging when 2007-05-06 12:39:46 +00:00
btr0cur.c branches/zip: ibuf_set_free_bits_func(): Disable redo logging when 2007-05-06 12:39:46 +00:00
btr0pcur.c branches/zip: Remove the fil_space_get_zip_size() call from 2007-01-18 09:59:00 +00:00
btr0sea.c branches/zip: btr_search_guess_on_hash(): Eliminate two local variables 2007-01-31 14:28:37 +00:00
Makefile.am branches/zip: Merge revisions 1165:1206 from trunk. 2007-01-18 12:58:39 +00:00