~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.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:
61
61
public:
62
62
  MyisamEngine(string name_arg)
63
63
   : drizzled::plugin::StorageEngine(name_arg, 
64
 
                                     HTON_CAN_RECREATE | 
65
64
                                     HTON_HAS_DATA_DICTIONARY |
66
65
                                     HTON_TEMPORARY_ONLY | 
67
66
                                     HTON_FILE_BASED ) {}
69
68
  ~MyisamEngine()
70
69
  { }
71
70
 
72
 
  virtual Cursor *create(TableShare *table,
 
71
  virtual Cursor *create(TableShare &table,
73
72
                          MEM_ROOT *mem_root)
74
73
  {
75
 
    return new (mem_root) ha_myisam(this, table);
 
74
    return new (mem_root) ha_myisam(*this, table);
76
75
  }
77
76
 
78
77
  const char **bas_ext() const {
303
302
  return(0);
304
303
}
305
304
 
 
305
int ha_myisam::reset_auto_increment(uint64_t value)
 
306
{
 
307
  file->s->state.auto_increment= value;
 
308
  return 0;
 
309
}
306
310
 
307
311
/*
308
312
  Check for underlying table conformance
494
498
 
495
499
}
496
500
 
497
 
ha_myisam::ha_myisam(drizzled::plugin::StorageEngine *engine_arg,
498
 
                     TableShare *table_arg)
 
501
ha_myisam::ha_myisam(drizzled::plugin::StorageEngine &engine_arg,
 
502
                     TableShare &table_arg)
499
503
  : Cursor(engine_arg, table_arg),
500
504
    file(0),
501
505
    int_table_flags(HA_NULL_IN_KEY |