~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/ha_heap.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-29 12:04:36 UTC
  • mto: (2257.1.1 build) (2276.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: olafvdspek@gmail.com-20110329120436-vozkuer8vqgh027p
Always call assert()

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
/* class for the the heap Cursor */
19
19
 
20
 
#ifndef PLUGIN_MEMORY_HA_HEAP_H
21
 
#define PLUGIN_MEMORY_HA_HEAP_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/cursor.h>
24
23
#include <drizzled/thr_lock.h>
47
46
                   drizzled::ha_rows rows)
48
47
  { return (double) rows /  20.0+1; }
49
48
 
50
 
  int doOpen(const drizzled::TableIdentifier &identifier, int mode, uint32_t test_if_locked);
 
49
  int doOpen(const drizzled::identifier::Table &identifier, int mode, uint32_t test_if_locked);
51
50
  int close(void);
52
51
  void set_keys_for_scanning(void);
53
52
  int doInsertRecord(unsigned char * buf);
96
95
  void update_key_stats();
97
96
};
98
97
 
99
 
#endif /* PLUGIN_MEMORY_HA_HEAP_H */