* Appends SQL for renaming an index to the SQL appender and upgrades the metadata.
* @param step The rename index step.
*/
protected void renameIndex(RenameIndexStep step)
{
RelationalSchema schema = m_state.getSchema();
Index oldIndex = schema.getIndex(step.getOldName()).getTable().cloneTemporary()
.getIndex(step.getOldName());
step.apply(m_state);
renameIndex(step.getIndex(), oldIndex);