Index: trunk/phase3/maintenance/archives/patch-logging-type-action-index.sql |
— | — | @@ -0,0 +1 @@ |
| 2 | +CREATE INDEX /*i*/type_action ON /*_*/logging(log_type, log_action); |
Property changes on: trunk/phase3/maintenance/archives/patch-logging-type-action-index.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 3 | + native |
Index: trunk/phase3/maintenance/tables.sql |
— | — | @@ -1226,6 +1226,7 @@ |
1227 | 1227 | CREATE INDEX /*i*/times ON /*_*/logging (log_timestamp); |
1228 | 1228 | CREATE INDEX /*i*/log_user_type_time ON /*_*/logging (log_user, log_type, log_timestamp); |
1229 | 1229 | CREATE INDEX /*i*/log_page_id_time ON /*_*/logging (log_page,log_timestamp); |
| 1230 | +CREATE INDEX /*i*/type_action ON /*_*/logging(log_type, log_action); |
1230 | 1231 | |
1231 | 1232 | |
1232 | 1233 | CREATE TABLE /*_*/log_search ( |
Index: trunk/phase3/includes/installer/MysqlUpdater.php |
— | — | @@ -181,10 +181,11 @@ |
182 | 182 | array( 'doUserNewTalkTimestampNotNull' ), |
183 | 183 | array( 'addIndex', 'user', 'user_email', 'patch-user_email_index.sql' ), |
184 | 184 | array( 'modifyField', 'user_properties', 'up_property', 'patch-up_property.sql' ), |
185 | | - array( 'addTable', 'uploadstash', 'patch-uploadstash.sql' ), |
| 185 | + array( 'addTable', 'uploadstash', 'patch-uploadstash.sql' ), |
186 | 186 | |
187 | 187 | // 1.19 |
188 | | - array( 'addTable', 'config', 'patch-config.sql' ), |
| 188 | + array( 'addTable', 'config', 'patch-config.sql' ), |
| 189 | + array( 'addIndex', 'logging', 'type_action', 'patch-logging-type-action-index.sql') |
189 | 190 | ); |
190 | 191 | } |
191 | 192 | |