~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Brian Aker
  • Date: 2009-10-30 21:14:33 UTC
  • Revision ID: brian@gaz-20091030211433-n6p1b0u32iadu0t8
Clean up some mispellings

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
  if (engine->check_flag(HTON_BIT_DOES_TRANSACTIONS))
204
204
    vector_of_transactional_engines.push_back(engine);
205
205
 
206
 
  if (engine->getTableDefinotionExt().length())
 
206
  if (engine->getTableDefinitionExt().length())
207
207
  {
208
 
    assert(engine->getTableDefinotionExt().length() == MAX_STORAGE_ENGINE_FILE_EXT);
209
 
    set_of_table_definition_ext.insert(engine->getTableDefinotionExt());
 
208
    assert(engine->getTableDefinitionExt().length() == MAX_STORAGE_ENGINE_FILE_EXT);
 
209
    set_of_table_definition_ext.insert(engine->getTableDefinitionExt());
210
210
  }
211
211
 
212
212
  return false;
506
506
  return 0;
507
507
}
508
508
 
509
 
class StorageEngineGetTableDefition: public unary_function<plugin::StorageEngine *,bool>
 
509
class StorageEngineGetTableDefinition: public unary_function<plugin::StorageEngine *,bool>
510
510
{
511
511
  Session& session;
512
512
  const char* path;
517
517
  int *err;
518
518
 
519
519
public:
520
 
  StorageEngineGetTableDefition(Session& session_arg,
521
 
                                const char* path_arg,
522
 
                                const char *db_arg,
523
 
                                const char *table_name_arg,
524
 
                                const bool is_tmp_arg,
525
 
                                message::Table *table_proto_arg,
526
 
                                int *err_arg) :
 
520
  StorageEngineGetTableDefinition(Session& session_arg,
 
521
                                  const char* path_arg,
 
522
                                  const char *db_arg,
 
523
                                  const char *table_name_arg,
 
524
                                  const bool is_tmp_arg,
 
525
                                  message::Table *table_proto_arg,
 
526
                                  int *err_arg) :
527
527
    session(session_arg), 
528
528
    path(path_arg), 
529
529
    db(db_arg),
586
586
 
587
587
  vector<plugin::StorageEngine *>::iterator iter=
588
588
    find_if(vector_of_engines.begin(), vector_of_engines.end(),
589
 
            StorageEngineGetTableDefition(session, path, NULL, NULL, true, table_proto, &err));
 
589
            StorageEngineGetTableDefinition(session, path, NULL, NULL, true, table_proto, &err));
590
590
 
591
591
  if (iter == vector_of_engines.end())
592
592
  {