~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.h

Remove PLUGIN and MODULES.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#define PLUGIN_HEAP_HA_HEAP_H
22
22
 
23
23
#include <drizzled/cursor.h>
24
 
#include <mysys/thr_lock.h>
 
24
#include <drizzled/thr_lock.h>
25
25
 
26
26
typedef struct st_heap_info HP_INFO;
27
27
typedef unsigned char *HEAP_PTR;
38
38
public:
39
39
  ha_heap(drizzled::plugin::StorageEngine &engine, TableShare &table);
40
40
  ~ha_heap() {}
41
 
  Cursor *clone(MEM_ROOT *mem_root);
 
41
  Cursor *clone(drizzled::memory::Root *mem_root);
42
42
 
43
43
  const char *index_type(uint32_t inx);
44
44
  enum row_type get_row_type() const;
45
 
  uint32_t index_flags(uint32_t inx, uint32_t part, bool all_parts) const;
46
45
  const key_map *keys_to_use_for_scanning() { return &btree_keys; }
47
46
  double scan_time()
48
47
  { return (double) (stats.records+stats.deleted) / 20.0+10; }