mariadb/handler
marko 6aab391620 branches/zip: Make innodb_adaptive_hash_index settable.
btr_search_disabled: Rename to btr_search_enabled and change the type
to char, so that it can be directly linked to the MySQL parameters.
Note that the variable is protected by btr_search_latch and
btr_search_enabled_mutex, a new mutex introduced in this patch.

btr_search_enabled_mutex: A new mutex, to protect btr_search_enabled
together with btr_search_latch.

buf_pool_drop_hash_index(): New function, to be called from
btr_search_disable().

btr_search_disable(), btr_search_enable(): Fix bugs.  These functions
were previously unused.

btr_search_guess_on_hash(), btr_search_build_page_hash_index():
Check btr_search_enabled once more, while holding btr_search_latch.

btr_cur_search_to_nth_level(): Note that the reads of btr_search_enabled
may be dirty and explain why it should not be a problem.

innobase_adaptive_hash_index: Remove. The variable btr_search_enabled will be used directly instead.

innodb_adaptive_hash_index_update(): New function, an update callback for
innodb_adaptive_hash_index.  This will call either btr_search_disable()
or btr_search_enable() when the value is assigned.  The functions will
be called even if the value does not appear to be changed, e.g., when
setting from TRUE to TRUE or FALSE to FALSE.

rb://85 approved by Heikki Tuuri.  This addresses Issue #163.
2009-01-30 21:30:29 +00:00
..
ha_innodb.cc branches/zip: Make innodb_adaptive_hash_index settable. 2009-01-30 21:30:29 +00:00
ha_innodb.h branches/zip: Do not call trx_allocate_for_mysql() directly, but use 2009-01-07 14:22:18 +00:00
handler0alter.cc branches/zip: Do not call trx_allocate_for_mysql() directly, but use 2009-01-07 14:22:18 +00:00
handler0vars.h branches/zip: windows plugin - fix references to array variables. 2008-11-04 10:43:14 +00:00
i_s.cc branches/zip: implement the delayloading of externals for the plugin 2008-10-27 20:48:29 +00:00
i_s.h branches/zip: Rename the compression-related INFORMATION_SCHEMA tables 2008-03-28 10:31:24 +00:00
mysql_addons.cc branches/zip: 2008-12-04 16:49:24 +00:00
win_delay_loader.cc branches/zip: In hash table lookups, assert that the traversed items 2009-01-13 19:46:22 +00:00