~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/ha_heap.h

  • Committer: Stewart Smith
  • Date: 2011-03-29 01:30:47 UTC
  • mto: (2257.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: stewart@flamingspork.com-20110329013047-5ujzfx6pahmwuko2
have CachedDirectory print out a warning if we can't stat() something in a directory. We should always have access to at least stat() things in directories Drizzle is running in (otherwise there is likely a problem)

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 */