~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_index.cc

  • Committer: Lee Bieber
  • Date: 2010-11-20 23:45:43 UTC
  • mfrom: (1938.4.8 trunk)
  • Revision ID: kalebral@gmail.com-20101120234543-xe4uzonpjsk08cr6
Merge Brian - refactor share

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
  TableList *all_tables= session->lex->query_tables;
35
35
 
36
36
  /* Chicken/Egg... we need to search for the table, to know if the table exists, so we can build a full identifier from it */
37
 
  message::TablePtr original_table_message;
 
37
  message::table::shared_ptr original_table_message;
38
38
  {
39
39
    TableIdentifier identifier(first_table->getSchemaName(), first_table->getTableName());
40
40
    if (plugin::StorageEngine::getTableDefinition(*session, identifier, original_table_message) != EEXIST)