~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blackhole/ha_blackhole.cc

  • Committer: Brian Aker
  • Date: 2009-11-11 21:40:59 UTC
  • mfrom: (1208.3.3 reference)
  • mto: This revision was merged to the branch mainline in revision 1212.
  • Revision ID: brian@gaz-20091111214059-0xfxkwrrixpx2jd9
Update for cursor name change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
{