~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/btr0sea.h

  • Committer: Lee Bieber
  • Date: 2010-12-03 01:16:19 UTC
  • mfrom: (1819.9.81 update-innobase)
  • Revision ID: kalebral@gmail.com-20101203011619-n6v584rijwdet05b
Merge Stewart - update Innobase plugin based on InnoDB 1.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
        btr_cur_t*      cursor);/*!< in: cursor which was positioned on the
181
181
                                record to delete using btr_cur_search_...,
182
182
                                the record is not yet deleted */
 
183
#if defined UNIV_AHI_DEBUG || defined UNIV_DEBUG
183
184
/********************************************************************//**
184
185
Validates the search system.
185
186
@return TRUE if ok */
187
188
ibool
188
189
btr_search_validate(void);
189
190
/*======================*/
 
191
#else
 
192
# define btr_search_validate()  TRUE
 
193
#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
190
194
 
191
195
/** Flag: has the search system been enabled?
192
196
Protected by btr_search_latch and btr_search_enabled_mutex. */
193
197
extern bool btr_search_enabled;
194
198
 
 
199
/** Flag: whether the search system has completed its disabling process,
 
200
It is set to TRUE right after buf_pool_drop_hash_index() in
 
201
btr_search_disable(), indicating hash index entries are cleaned up.
 
202
Protected by btr_search_latch and btr_search_enabled_mutex. */
 
203
extern ibool    btr_search_fully_disabled;
 
204
 
195
205
/** The search info struct in an index */
196
206
struct btr_search_struct{
197
207
        ulint   ref_count;      /*!< Number of blocks in this index tree