MDL-46918 ddl: fix error when renaming table already exists
MDL-46918 ddl: cover behavior with unit test