~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-10-28 17:12:01 UTC
  • mfrom: (1887.1.3 merge)
  • Revision ID: brian@tangent.org-20101028171201-baj6l1bnntn1s4ad
Merge in POTFILES changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1996, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1996, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
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
184
183
/********************************************************************//**
185
184
Validates the search system.
186
185
@return TRUE if ok */
188
187
ibool
189
188
btr_search_validate(void);
190
189
/*======================*/
191
 
#else
192
 
# define btr_search_validate()  TRUE
193
 
#endif /* defined UNIV_AHI_DEBUG || defined UNIV_DEBUG */
194
190
 
195
191
/** Flag: has the search system been enabled?
196
192
Protected by btr_search_latch and btr_search_enabled_mutex. */
197
193
extern bool btr_search_enabled;
198
194
 
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
 
 
205
195
/** The search info struct in an index */
206
196
struct btr_search_struct{
207
197
        ulint   ref_count;      /*!< Number of blocks in this index tree