~stewart/drizzle/embedded-innodb-rnd-read

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/tables.cc

  • Committer: Stewart Smith
  • Date: 2010-04-06 07:37:28 UTC
  • mfrom: (1310.1.44)
  • Revision ID: stewart@flamingspork.com-20100406073728-ml0gfkm3n3yq3lj3
Merged embedded-innodb-write-row into embedded-innodb-rnd-read.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
     return false;
82
82
 
83
83
    table_names.clear();
84
 
    Session *session= current_session;
85
84
    SchemaIdentifier identifier(schema_name());
86
 
    plugin::StorageEngine::getTableNames(*session, identifier, table_names);
 
85
    plugin::StorageEngine::getTableNames(getSession(), identifier, table_names);
87
86
    table_iterator= table_names.begin();
88
87
    is_tables_primed= true;
89
88
  }
93
92
 
94
93
  table_proto.Clear();
95
94
  {
96
 
    Session *session= current_session;
97
95
    TableIdentifier identifier(schema_name().c_str(), table_name().c_str());
98
 
    plugin::StorageEngine::getTableDefinition(*session,
 
96
    plugin::StorageEngine::getTableDefinition(getSession(),
99
97
                                             identifier,
100
98
                                             table_proto);
101
99
  }