~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Brian Aker
  • Date: 2010-03-24 19:52:38 UTC
  • mto: This revision was merged to the branch mainline in revision 1401.
  • Revision ID: brian@gaz-20100324195238-tkmblmrlmd39yad3
Fixes for alter table to make sure that the proto on disk is valid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1645
1645
  {
1646
1646
    if (not base->check_flag(HTON_BIT_HAS_DATA_DICTIONARY))
1647
1647
    {
1648
 
      if ((error= rename_table_proto_file(from.getPath().c_str(), to.getPath().c_str())))
 
1648
      if ((error= plugin::StorageEngine::renameDefinitionFromPath(to, from)))
1649
1649
      {
1650
1650
        error= errno;
1651
1651
        base->renameTable(*session, to, from);