Remove doTable check from (Mysql|Sqlite)Updater::indexHasFields
commit165cb29aad51ef6be45e054dacd0b1a178f38bd0
authorReedy <reedy@wikimedia.org>
Wed, 7 Oct 2020 15:54:45 +0000 (7 16:54 +0100)
committerReedy <reedy@wikimedia.org>
Wed, 7 Oct 2020 15:54:56 +0000 (7 16:54 +0100)
tree5a19c6db2584df664250e8fca4a7d52dc4e42420
parentac4a4f5ac181751b7770fbfa386d798b61b7fb87
Remove doTable check from (Mysql|Sqlite)Updater::indexHasFields

This resulted in indexHasField returning the same value if the table was shared, *OR* the index existed

For other usages (*links) tables, we wouldn't expect them to be shared. ipblocks we should

So move the doTable check to doFixIpbAddressUniqueIndex where it makes sense

Bug: T264683
Change-Id: I44e7183893a1be35ac12a16bc4e729c96bfdc1ad
includes/installer/MysqlUpdater.php
includes/installer/SqliteUpdater.php