Follow up r79314.
authorPlatonides <platonides@users.mediawiki.org>
Fri, 31 Dec 2010 14:08:10 +0000 (14:08 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Fri, 31 Dec 2010 14:08:10 +0000 (14:08 +0000)
commit666ee2902af3823e25379355f5df3b1ab20a11a4
treeccbb551cd219769c99fb008333751aa8ef4429e2
parent2fe8e12075def853ab72d0ae9e1109206354e9cd
Follow up r79314.
The table to drop is the NEW one, the one that is going to be recreated.
Sure, the prefix was changed, which means that we need just the table base.

The r79314 behavior was to perform the following:
 DROP /* CloneDatabase::cloneTableStructure  */ TABLE IF EXISTS `archive`
 CREATE /* DatabaseMysql::duplicateTableStructure  */ TEMPORARY  TABLE `unittest_archive` (LIKE `archive`)

Luckily, it failed there as it didn't find the table it had just dropped.
includes/db/CloneDatabase.php