~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/ha_archive.cc

  • Committer: Monty Taylor
  • Date: 2009-03-26 07:44:35 UTC
  • mto: (968.2.25 mordred)
  • mto: This revision was merged to the branch mainline in revision 971.
  • Revision ID: mordred@inaugust.com-20090326074435-h0j2cffsd6mnejo8
Refactored state into is_enabled() call.

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
  StorageEngine **engine= static_cast<StorageEngine **>(p);
161
161
 
162
162
  ArchiveEngine *archive_engine= new ArchiveEngine(engine_name);
163
 
  archive_engine->state= SHOW_OPTION_YES;
164
163
  archive_engine->flags= HTON_NO_FLAGS;
165
164
 
166
165
  *engine= archive_engine;