161
161
identifier::Table old_identifier(ren_table->getSchemaName(), old_alias, message::Table::STANDARD);
165
165
my_error(ER_TABLE_UNKNOWN, old_identifier);
171
171
identifier::Table new_identifier(new_db, new_alias, message::Table::STANDARD);
174
174
my_error(ER_TABLE_EXISTS_ERROR, new_identifier);
175
175
return 1; // This can't be skipped
178
rc= rename_table(*getSession(), engine, old_identifier, new_identifier);
178
rc= rename_table(session(), engine, old_identifier, new_identifier);