~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.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:
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 */