Index: branches/robchurch/reports/maintenance/archives/patch-querycacheinfo.sql |
— | — | @@ -1,12 +0,0 @@ |
2 | | -CREATE TABLE /*$wgDBprefix*/querycache_info ( |
3 | | - |
4 | | - -- Special page name |
5 | | - -- Corresponds to a qc_type value |
6 | | - qci_type varbinary(32) NOT NULL default '', |
7 | | - |
8 | | - -- Timestamp of last update |
9 | | - qci_timestamp binary(14) NOT NULL default '19700101000000', |
10 | | - |
11 | | - UNIQUE KEY ( qci_type ) |
12 | | - |
13 | | -) /*$wgDBTableOptions*/; |
Index: branches/robchurch/reports/maintenance/archives/patch-querycachetwo.sql |
— | — | @@ -1,22 +0,0 @@ |
2 | | - |
3 | | -CREATE TABLE /*$wgDBprefix*/querycachetwo ( |
4 | | - -- A key name, generally the base name of of the special page. |
5 | | - qcc_type varbinary(32) NOT NULL, |
6 | | - |
7 | | - -- Some sort of stored value. Sizes, counts... |
8 | | - qcc_value int unsigned NOT NULL default '0', |
9 | | - |
10 | | - -- Target namespace+title |
11 | | - qcc_namespace int NOT NULL default '0', |
12 | | - qcc_title varchar(255) binary NOT NULL default '', |
13 | | - |
14 | | - -- Target namespace+title2 |
15 | | - qcc_namespacetwo int NOT NULL default '0', |
16 | | - qcc_titletwo varchar(255) binary NOT NULL default '', |
17 | | - |
18 | | - KEY qcc_type (qcc_type,qcc_value), |
19 | | - KEY qcc_title (qcc_type,qcc_namespace,qcc_title), |
20 | | - KEY qcc_titletwo (qcc_type,qcc_namespacetwo,qcc_titletwo) |
21 | | - |
22 | | -) /*$wgDBTableOptions*/; |
Index: branches/robchurch/reports/maintenance/archives/patch-querycache.sql |
— | — | @@ -1,16 +0,0 @@ |
2 | | - |
3 | | -CREATE TABLE /*$wgDBprefix*/querycache ( |
4 | | - -- A key name, generally the base name of of the special page. |
5 | | - qc_type varbinary(32) NOT NULL, |
6 | | - |
7 | | - -- Some sort of stored value. Sizes, counts... |
8 | | - qc_value int unsigned NOT NULL default '0', |
9 | | - |
10 | | - -- Target namespace+title |
11 | | - qc_namespace int NOT NULL default '0', |
12 | | - qc_title varchar(255) binary NOT NULL default '', |
13 | | - |
14 | | - KEY (qc_type,qc_value) |
15 | | - |
16 | | -) /*$wgDBTableOptions*/; |
Index: branches/robchurch/reports/maintenance/updaters.inc |
— | — | @@ -22,7 +22,6 @@ |
23 | 23 | $wgNewTables = array( |
24 | 24 | # table patch file (in maintenance/archives) |
25 | 25 | array( 'hitcounter', 'patch-hitcounter.sql' ), |
26 | | - array( 'querycache', 'patch-querycache.sql' ), |
27 | 26 | array( 'objectcache', 'patch-objectcache.sql' ), |
28 | 27 | array( 'categorylinks', 'patch-categorylinks.sql' ), |
29 | 28 | array( 'logging', 'patch-logging.sql' ), |
— | — | @@ -32,9 +31,7 @@ |
33 | 32 | array( 'externallinks', 'patch-externallinks.sql' ), |
34 | 33 | array( 'job', 'patch-job.sql' ), |
35 | 34 | array( 'langlinks', 'patch-langlinks.sql' ), |
36 | | - array( 'querycache_info', 'patch-querycacheinfo.sql' ), |
37 | 35 | array( 'filearchive', 'patch-filearchive.sql' ), |
38 | | - array( 'querycachetwo', 'patch-querycachetwo.sql' ), |
39 | 36 | array( 'reportcache', 'patch-reportcache.sql' ), |
40 | 37 | array( 'reportcache_info', 'patch-reportcache_info.sql' ), |
41 | 38 | ); |
Index: branches/robchurch/reports/maintenance/tables.sql |
— | — | @@ -961,24 +961,6 @@ |
962 | 962 | ) /*$wgDBTableOptions*/; |
963 | 963 | |
964 | 964 | -- |
965 | | -CREATE TABLE /*$wgDBprefix*/querycache ( |
966 | | - -- A key name, generally the base name of of the special page. |
967 | | - qc_type varbinary(32) NOT NULL, |
968 | | - |
969 | | - -- Some sort of stored value. Sizes, counts... |
970 | | - qc_value int unsigned NOT NULL default '0', |
971 | | - |
972 | | - -- Target namespace+title |
973 | | - qc_namespace int NOT NULL default '0', |
974 | | - qc_title varchar(255) binary NOT NULL default '', |
975 | | - |
976 | | - KEY (qc_type,qc_value) |
977 | | - |
978 | | -) /*$wgDBTableOptions*/; |
979 | | - |
980 | 965 | -- For a few generic cache operations if not using Memcached |
981 | 966 | -- |
982 | 967 | CREATE TABLE /*$wgDBprefix*/objectcache ( |
— | — | @@ -1073,20 +1055,6 @@ |
1074 | 1056 | ) /*$wgDBTableOptions*/; |
1075 | 1057 | |
1076 | 1058 | |
1077 | | -CREATE TABLE /*$wgDBprefix*/querycache_info ( |
1078 | | - |
1079 | | - -- Special page name |
1080 | | - -- Corresponds to a qc_type value |
1081 | | - qci_type varbinary(32) NOT NULL default '', |
1082 | | - |
1083 | | - -- Timestamp of last update |
1084 | | - qci_timestamp binary(14) NOT NULL default '19700101000000', |
1085 | | - |
1086 | | - UNIQUE KEY ( qci_type ) |
1087 | | - |
1088 | | -) /*$wgDBTableOptions*/; |
1089 | | - |
1090 | 1059 | -- For each redirect, this table contains exactly one row defining its target |
1091 | 1060 | CREATE TABLE /*$wgDBprefix*/redirect ( |
1092 | 1061 | -- Key to the page_id of the redirect page |
— | — | @@ -1103,28 +1071,6 @@ |
1104 | 1072 | KEY rd_ns_title (rd_namespace,rd_title,rd_from) |
1105 | 1073 | ) /*$wgDBTableOptions*/; |
1106 | 1074 | |
1107 | | -CREATE TABLE /*$wgDBprefix*/querycachetwo ( |
1108 | | - -- A key name, generally the base name of of the special page. |
1109 | | - qcc_type varbinary(32) NOT NULL, |
1110 | | - |
1111 | | - -- Some sort of stored value. Sizes, counts... |
1112 | | - qcc_value int unsigned NOT NULL default '0', |
1113 | | - |
1114 | | - -- Target namespace+title |
1115 | | - qcc_namespace int NOT NULL default '0', |
1116 | | - qcc_title varchar(255) binary NOT NULL default '', |
1117 | | - |
1118 | | - -- Target namespace+title2 |
1119 | | - qcc_namespacetwo int NOT NULL default '0', |
1120 | | - qcc_titletwo varchar(255) binary NOT NULL default '', |
1121 | | - |
1122 | | - KEY qcc_type (qcc_type,qcc_value), |
1123 | | - KEY qcc_title (qcc_type,qcc_namespace,qcc_title), |
1124 | | - KEY qcc_titletwo (qcc_type,qcc_namespacetwo,qcc_titletwo) |
1125 | | - |
1126 | | -) /*$wgDBTableOptions*/; |
1127 | | - |
1128 | 1075 | -- Used for storing page restrictions (i.e. protection levels) |
1129 | 1076 | CREATE TABLE /*$wgDBprefix*/page_restrictions ( |
1130 | 1077 | -- Page to apply restrictions to (Foreign Key to page). |