X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Farchives%2Fpatch-querycache.sql;h=e6da79cc28060475548717da95809d1d15418d31;hb=087a9f70c5c152b72dc6c539cf64e334a0f2d029;hp=329b59028762b2aed0c6ebc447487cea9834fbbb;hpb=fa8603c521f98bce49daeebdb7c4a4ca0f494a44;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/archives/patch-querycache.sql b/maintenance/archives/patch-querycache.sql index 329b590287..e6da79cc28 100644 --- a/maintenance/archives/patch-querycache.sql +++ b/maintenance/archives/patch-querycache.sql @@ -2,15 +2,15 @@ CREATE TABLE /*$wgDBprefix*/querycache ( -- A key name, generally the base name of of the special page. - qc_type char(32) NOT NULL, + qc_type varbinary(32) NOT NULL, -- Some sort of stored value. Sizes, counts... - qc_value int(5) unsigned NOT NULL default '0', + qc_value int unsigned NOT NULL default '0', -- Target namespace+title - qc_namespace tinyint(2) unsigned NOT NULL default '0', - qc_title char(255) binary NOT NULL default '', + qc_namespace int NOT NULL default '0', + qc_title varchar(255) binary NOT NULL default '', KEY (qc_type,qc_value) -) TYPE=InnoDB; +) /*$wgDBTableOptions*/;