From: Kevin Israel Date: Sat, 7 Dec 2013 20:29:20 +0000 (-0500) Subject: Add new_name_timestamp index when upgrading from 1.1 X-Git-Tag: 1.31.0-rc.0~17628 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=1e66d7840b318ba55ceec5000d1dc44b9e79e26a;p=lhc%2Fweb%2Fwiklou.git Add new_name_timestamp index when upgrading from 1.1 This index is specified in some FORCE INDEX clauses, so it has to be present. Patch already exists; the installer just wasn't using it. There still are some other schema inconsistencies I have to track down, so I'm not yet adding a release note that upgrading from 1.1 has been "fixed". Change-Id: Ibd593d3f5b63f4cb033c6c9dabaac398bb1afd19 --- diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index cc5313a8f0..01ee060b3f 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -40,6 +40,7 @@ class MysqlUpdater extends DatabaseUpdater { array( 'doIndexUpdate' ), array( 'addTable', 'hitcounter', 'patch-hitcounter.sql' ), array( 'addField', 'recentchanges', 'rc_type', 'patch-rc_type.sql' ), + array( 'addIndex', 'recentchanges', 'new_name_timestamp', 'patch-rc-newindex.sql' ), // 1.3 array( 'addField', 'user', 'user_real_name', 'patch-user-realname.sql' ),