1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mediawiki_ynh.git synced 2024-09-03 19:46:05 +02:00
mediawiki_ynh/sources/mediawiki/maintenance/archives/patch-categorylinksindex.sql

11 lines
322 B
SQL

--
-- patch-categorylinksindex.sql
--
-- Per bug 10280 / http://bugzilla.wikimedia.org/show_bug.cgi?id=10280
--
-- Improve enum continuation performance of the what pages belong to a category query
--
ALTER TABLE /*$wgDBprefix*/categorylinks
DROP INDEX cl_sortkey,
ADD INDEX cl_sortkey(cl_to, cl_sortkey, cl_from);