~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/myisam.h

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <drizzled/base.h>
25
25
#ifndef _m_ctype_h
26
 
#include <mystrings/m_ctype.h>
 
26
#include <m_ctype.h>
27
27
#endif
28
28
#ifndef _keycache_h
29
29
#include "keycache.h"
30
30
#endif
31
 
#include <storage/myisam/my_handler.h>
32
 
#include <mysys/iocache.h>
 
31
#include <mysys/my_handler.h>
 
32
#include <drizzled/plugin.h>
33
33
 
34
34
/*
35
35
  Limit max keys according to HA_MAX_POSSIBLE_KEY
69
69
  This means that clearing of high keys is ignored, setting one high key
70
70
  sets all high keys.
71
71
*/
72
 
#define MI_KEYMAP_BITS      (64)
 
72
#define MI_KEYMAP_BITS      (8 * SIZEOF_LONG_LONG)
73
73
#define MI_KEYMAP_HIGH_MASK (1UL << (MI_KEYMAP_BITS - 1))
74
74
#define mi_get_mask_all_keys_active(_keys_) \
75
75
                            (((_keys_) < MI_KEYMAP_BITS) ? \
421
421
  
422
422
  ha_checksum key_crc[HA_MAX_POSSIBLE_KEY];
423
423
  ulong rec_per_key_part[MI_MAX_KEY_SEG*HA_MAX_POSSIBLE_KEY];
424
 
  void *session;
 
424
  void *thd;
425
425
  const char *db_name, *table_name;
426
426
  const char *op_name;
427
427
  enum_mi_stats_method stats_method;