~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/rename_table.cc

  • Committer: Brian Aker
  • Date: 2010-03-23 23:08:36 UTC
  • Revision ID: brian@gaz-20100323230836-p97twveqkt007r1j
Large reord in ALTER TABLE for RENAME.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
    return 1; // This can't be skipped
172
172
  }
173
173
 
174
 
  rc= mysql_rename_table(engine,
175
 
                         ren_table->db, old_alias,
176
 
                         new_db, new_alias, 0);
 
174
  rc= mysql_rename_table(engine, old_identifier, new_identifier, 0);
177
175
  if (rc && ! skip_error)
178
176
    return true;
179
177