~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.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:
145
145
    table_definition_ext= ARZ;
146
146
  }
147
147
 
148
 
  virtual Cursor *create(TableShare *table,
 
148
  virtual Cursor *create(TableShare &table,
149
149
                          MEM_ROOT *mem_root)
150
150
  {
151
 
    return new (mem_root) ha_archive(this, table);
 
151
    return new (mem_root) ha_archive(*this, table);
152
152
  }
153
153
 
154
154
  const char **bas_ext() const {
318
318
}
319
319
 
320
320
 
321
 
ha_archive::ha_archive(drizzled::plugin::StorageEngine *engine_arg,
322
 
                       TableShare *table_arg)
 
321
ha_archive::ha_archive(drizzled::plugin::StorageEngine &engine_arg,
 
322
                       TableShare &table_arg)
323
323
  :Cursor(engine_arg, table_arg), delayed_insert(0), bulk_insert(0)
324
324
{
325
325
  /* Set our original buffer from pre-allocated memory */