Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
PLATFORM-1914: update querycache schema for new wikis
Browse files Browse the repository at this point in the history
  • Loading branch information
macbre committed Mar 1, 2016
1 parent 1484e56 commit dcf7523
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion maintenance/tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1146,8 +1146,9 @@ CREATE TABLE /*_*/querycache (
qc_title varchar(255) binary NOT NULL default ''
) /*$wgDBTableOptions*/;

CREATE INDEX /*i*/qc_type ON /*_*/querycache (qc_type,qc_value);
-- CREATE INDEX /*i*/qc_type ON /*_*/querycache (qc_type,qc_value); // PLATFORM-1914

CREATE UNIQUE INDEX /*i*/qc_type_value_ns_title ON /*_*/querycache (qc_type,qc_value,qc_namespace,qc_title);

--
-- For a few generic cache operations if not using Memcached
Expand Down

1 comment on commit dcf7523

@WikiaJenkins
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.