~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/statement_transform.cc

  • Committer: Brian Aker
  • Date: 2010-05-13 00:24:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1533.
  • Revision ID: brian@gaz-20100513002420-rqxkrxegkwivaxmm
Merge engine options for schema/table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
881
881
  /* Add ENGINE = " clause */
882
882
  if (table.has_engine())
883
883
  {
884
 
    const Table::StorageEngine &engine= table.engine();
885
884
    destination.append("\nENGINE = ", 10);
886
 
    destination.append(engine.name());
 
885
    destination.append(table.engine().name());
887
886
 
888
 
    size_t num_engine_options= engine.options_size();
 
887
    size_t num_engine_options= table.engine().options_size();
889
888
    for (size_t x= 0; x < num_engine_options; ++x)
890
889
    {
891
 
      const Table::StorageEngine::EngineOption &option= engine.options(x);
 
890
      const Engine::Option &option= table.engine().options(x);
892
891
      destination.push_back('\n');
893
892
      destination.append(option.name());
894
893
      destination.append(" = ", 3);