~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Stewart Smith
  • Date: 2009-07-20 13:29:16 UTC
  • mto: (1093.1.29 captain)
  • mto: This revision was merged to the branch mainline in revision 1102.
  • Revision ID: stewart@flamingspork.com-20090720132916-34ve6x6tucawnntl
refactor ha_resolve_by_name to accept std::string instead of LEX_STRING

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
  handler *handler_file= NULL;
285
285
 
286
286
  {
287
 
    LEX_STRING engine_name= { (char*)table.engine().name().c_str(),
288
 
                              strlen(table.engine().name().c_str()) };
289
 
    share->storage_engine= ha_resolve_by_name(session, &engine_name);
 
287
    share->storage_engine= ha_resolve_by_name(session, table.engine().name());
290
288
  }
291
289
 
292
290
  drizzled::message::Table::TableOptions table_options;