~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.h

  • Committer: Brian Aker
  • Date: 2009-10-16 10:27:33 UTC
  • mfrom: (1183.1.4 merge)
  • Revision ID: brian@gaz-20091016102733-b10po5oup0hjlilh
MergeĀ EngineĀ changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
 
17
17
 
18
 
/* class for the the heap handler */
 
18
/* class for the the heap Cursor */
19
19
 
20
20
#ifndef PLUGIN_HEAP_HA_HEAP_H
21
21
#define PLUGIN_HEAP_HA_HEAP_H
22
22
 
23
 
#include <drizzled/handler.h>
 
23
#include <drizzled/cursor.h>
24
24
#include <mysys/thr_lock.h>
25
25
 
26
26
typedef struct st_heap_info HP_INFO;
27
27
typedef unsigned char *HEAP_PTR;
28
28
 
29
29
 
30
 
class ha_heap: public handler
 
30
class ha_heap: public Cursor
31
31
{
32
32
  HP_INFO *file;
33
33
  key_map btree_keys;
38
38
public:
39
39
  ha_heap(drizzled::plugin::StorageEngine *engine, TableShare *table);
40
40
  ~ha_heap() {}
41
 
  handler *clone(MEM_ROOT *mem_root);
 
41
  Cursor *clone(MEM_ROOT *mem_root);
42
42
 
43
43
  const char *index_type(uint32_t inx);
44
44
  enum row_type get_row_type() const;
88
88
  int info(uint);
89
89
  int extra(enum ha_extra_function operation);
90
90
  int reset();
91
 
  int external_lock(Session *session, int lock_type);
92
91
  int delete_all_rows(void);
93
92
  int disable_indexes(uint32_t mode);
94
93
  int enable_indexes(uint32_t mode);