~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blackhole/ha_blackhole.cc

  • Committer: brian
  • Date: 2009-11-11 19:42:27 UTC
  • mfrom: (1211 staging)
  • mto: (1211.1.4 staging)
  • mto: This revision was merged to the branch mainline in revision 1212.
  • Revision ID: brian@orisndriz04-20091111194227-mky4am3ym0dlosaa
Update for Cursor renaming.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
{
42
42
public:
43
43
  BlackholeEngine(const string &name_arg)
44
 
   : drizzled::plugin::StorageEngine(name_arg, HTON_FILE_BASED | HTON_HAS_DATA_DICTIONARY | HTON_CAN_RECREATE) 
 
44
   : drizzled::plugin::StorageEngine(name_arg, HTON_FILE_BASED | HTON_HAS_DATA_DICTIONARY) 
45
45
  {
46
46
    table_definition_ext= BLACKHOLE_EXT;
47
47
  }
48
48
 
49
 
  virtual Cursor *create(TableShare *table,
 
49
  virtual Cursor *create(TableShare &table,
50
50
                          MEM_ROOT *mem_root)
51
51
  {
52
 
    return new (mem_root) ha_blackhole(this, table);
 
52
    return new (mem_root) ha_blackhole(*this, table);
53
53
  }
54
54
 
55
55
  const char **bas_ext() const {
111
111
** BLACKHOLE tables
112
112
*****************************************************************************/
113
113
 
114
 
ha_blackhole::ha_blackhole(drizzled::plugin::StorageEngine *engine_arg,
115
 
                           TableShare *table_arg)
 
114
ha_blackhole::ha_blackhole(drizzled::plugin::StorageEngine &engine_arg,
 
115
                           TableShare &table_arg)
116
116
  :Cursor(engine_arg, table_arg)
117
 
{}
 
117
{ }
118
118
 
119
119
uint32_t ha_blackhole::index_flags(uint32_t inx, uint32_t, bool) const
120
120
{