~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/index_xt.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *
15
15
 * You should have received a copy of the GNU General Public License
16
16
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
17
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
 *
19
19
 * 2005-09-30   Paul McCullagh
20
20
 *
25
25
 
26
26
#ifdef DRIZZLED
27
27
#include <drizzled/definitions.h>
 
28
#include <drizzled/sql_bitmap.h>
28
29
#include <drizzled/field.h>
29
30
using drizzled::Field;
30
31
#else
106
107
struct XTIndBlock;
107
108
struct XTTable;
108
109
struct XTThread;
 
110
class Field;
109
111
 
110
112
/*
111
113
 * INDEX ROLLBACK
423
425
        u_int                           mi_flags;
424
426
        u_int                           mi_key_size;
425
427
        u_int                           mi_max_items;                           /* The maximum number of items that can fit in a leaf node. */
426
 
        xtBool                          mi_key_corrupted;                       /* Set to TRUE if a currupted index key is detected. */
 
428
        xtBool                          mi_low_byte_first;
427
429
        xtBool                          mi_fix_key;
428
430
        xtBool                          mi_lazy_delete;                         /* TRUE if index entries are "lazy deleted". */
429
431
        u_int                           mi_single_type;                         /* Used when the index contains a single field. */
432
434
        XTPrevItemFunc          mi_prev_item;
433
435
        XTLastItemFunc          mi_last_item;
434
436
        XTSimpleCompFunc        mi_simple_comp_key;
435
 
#ifdef DRIZZLED
436
 
        uint64_t            mi_col_map;                                 /* Bit-map of columns in the index. */
437
 
    uint64_t            mi_col_map_size;            /* size of this bitmap. */
438
 
#else
439
437
        MX_BITMAP                       mi_col_map;                                     /* Bit-map of columns in the index. */
440
 
#endif
441
438
        u_int                           mi_subset_of;                           /* Indicates if this index is a complete subset of someother index. */
442
439
        u_int                           mi_seg_count;
443
440
        XTIndexSegRec           mi_seg[200];