~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/ha_heap.h

  • Committer: Stewart Smith
  • Date: 2008-12-19 00:35:10 UTC
  • mfrom: (717 testable)
  • mto: This revision was merged to the branch mainline in revision 719.
  • Revision ID: stewart@flamingspork.com-20081219003510-bsc6gf7gq7kdg183
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/handler.h>
24
24
#include <mysys/thr_lock.h>
25
 
#include <heap.h>
 
25
 
 
26
typedef struct st_heap_info HP_INFO;
 
27
typedef struct st_heap_share HEAP_SHARE;
 
28
typedef unsigned char *HEAP_PTR;
 
29
 
26
30
 
27
31
class ha_heap: public handler
28
32
{
105
109
 
106
110
  THR_LOCK_DATA **store_lock(Session *session, THR_LOCK_DATA **to,
107
111
                             enum thr_lock_type lock_type);
108
 
  int cmp_ref(const unsigned char *ref1, const unsigned char *ref2)
109
 
  {
110
 
    return memcmp(ref1, ref2, sizeof(HEAP_PTR));
111
 
  }
 
112
  int cmp_ref(const unsigned char *ref1, const unsigned char *ref2);
112
113
  bool check_if_incompatible_data(HA_CREATE_INFO *info, uint32_t table_changes);
113
114
private:
114
115
  void update_key_stats();