~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.h

Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
  uint32_t    key_stat_version;
37
37
  bool internal_table;
38
38
public:
39
 
  ha_heap(drizzled::plugin::StorageEngine *engine, TableShare *table);
 
39
  ha_heap(drizzled::plugin::StorageEngine &engine, TableShare &table);
40
40
  ~ha_heap() {}
41
41
  Cursor *clone(MEM_ROOT *mem_root);
42
42
 
98
98
  THR_LOCK_DATA **store_lock(Session *session, THR_LOCK_DATA **to,
99
99
                             enum thr_lock_type lock_type);
100
100
  int cmp_ref(const unsigned char *ref1, const unsigned char *ref2);
 
101
  int reset_auto_increment(uint64_t value)
 
102
  {
 
103
    file->s->auto_increment= value;
 
104
    return 0;
 
105
  }
101
106
private:
102
107
  void update_key_stats();
103
108
};