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

Commit dcf7523

Browse files
committed
PLATFORM-1914: update querycache schema for new wikis
1 parent 1484e56 commit dcf7523

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maintenance/tables.sql

+2-1
Original file line numberDiff line numberDiff line change
@@ -1146,8 +1146,9 @@ CREATE TABLE /*_*/querycache (
11461146
qc_title varchar(255) binary NOT NULL default ''
11471147
) /*$wgDBTableOptions*/;
11481148

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

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

11521153
--
11531154
-- For a few generic cache operations if not using Memcached

0 commit comments

Comments
 (0)