~drizzle-developers/ubuntu/natty/drizzle/natty

« back to all changes in this revision

Viewing changes to plugin/blackhole/ha_blackhole.h

  • Committer: Monty Taylor
  • Date: 2010-03-03 19:27:30 UTC
  • mto: (1308.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 1278.
  • Revision ID: mordred@inaugust.com-20100303192730-o2o3nmp0lzhuatbe
Tags: upstream-2010.03.1317
ImportĀ upstreamĀ versionĀ 2010.03.1317

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
public:
35
35
  explicit BlackholeShare(const std::string table_name_arg);
36
36
  ~BlackholeShare();
37
 
  THR_LOCK lock;
 
37
  drizzled::THR_LOCK lock;
38
38
  uint32_t use_count;
39
39
  const std::string table_name;
40
40
};
44
44
  Class definition for the blackhole storage engine
45
45
  "Dumbest named feature ever"
46
46
*/
47
 
class ha_blackhole: public Cursor
 
47
class ha_blackhole: public drizzled::Cursor
48
48
{
49
 
  THR_LOCK_DATA lock;      /* MySQL lock */
 
49
  drizzled::THR_LOCK_DATA lock;      /* MySQL lock */
50
50
  BlackholeShare *share;
51
51
 
52
52
public:
53
 
  ha_blackhole(drizzled::plugin::StorageEngine &engine, TableShare &table_arg);
 
53
  ha_blackhole(drizzled::plugin::StorageEngine &engine,
 
54
               drizzled::TableShare &table_arg);
54
55
  ~ha_blackhole()
55
56
  {}
56
57
 
68
69
  int rnd_pos(unsigned char * buf, unsigned char *pos);
69
70
  BlackholeShare *get_share(const char *table_name);
70
71
  void free_share();
71
 
  int index_read_map(unsigned char * buf, const unsigned char * key, key_part_map keypart_map,
72
 
                     enum ha_rkey_function find_flag);
 
72
  int index_read_map(unsigned char * buf, const unsigned char * key,
 
73
                     drizzled::key_part_map keypart_map,
 
74
                     drizzled::ha_rkey_function find_flag);
73
75
  int index_read_idx_map(unsigned char * buf, uint32_t idx, const unsigned char * key,
74
 
                         key_part_map keypart_map,
75
 
                         enum ha_rkey_function find_flag);
76
 
  int index_read_last_map(unsigned char * buf, const unsigned char * key, key_part_map keypart_map);
 
76
                         drizzled::key_part_map keypart_map,
 
77
                         drizzled::ha_rkey_function find_flag);
 
78
  int index_read_last_map(unsigned char * buf, const unsigned char * key,
 
79
                          drizzled::key_part_map keypart_map);
77
80
  int index_next(unsigned char * buf);
78
81
  int index_prev(unsigned char * buf);
79
82
  int index_first(unsigned char * buf);