~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/rename_table.cc

  • Committer: Brian Aker
  • Date: 2010-11-10 05:50:26 UTC
  • mfrom: (1910.2.15 merge)
  • mto: This revision was merged to the branch mainline in revision 1922.
  • Revision ID: brian@tangent.org-20101110055026-shjlsd5jeumje2vt
Merge in tree for shared_ptr work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
  }
153
153
 
154
154
  plugin::StorageEngine *engine= NULL;
155
 
  message::Table table_proto;
 
155
  message::TablePtr table_proto;
156
156
 
157
157
  TableIdentifier old_identifier(ren_table->getSchemaName(), old_alias, message::Table::STANDARD);
158
158
 
162
162
    return true;
163
163
  }
164
164
 
165
 
  engine= plugin::StorageEngine::findByName(*session, table_proto.engine().name());
 
165
  engine= plugin::StorageEngine::findByName(*session, table_proto->engine().name());
166
166
 
167
167
  TableIdentifier new_identifier(new_db, new_alias, message::Table::STANDARD);
168
168
  if (plugin::StorageEngine::doesTableExist(*session, new_identifier))