Further link-cache related stuff.
authorMr. E23 <e23@users.mediawiki.org>
Sat, 8 Nov 2003 15:32:28 +0000 (15:32 +0000)
committerMr. E23 <e23@users.mediawiki.org>
Sat, 8 Nov 2003 15:32:28 +0000 (15:32 +0000)
maintenance/tables.sql
update.php

index 201a946..7e99f5b 100644 (file)
@@ -90,6 +90,13 @@ CREATE TABLE brokenlinks (
   bl_to varchar(255) binary NOT NULL default ''
 ) TYPE=MyISAM;
 
+DROP TABLE IF EXISTS linkscc;
+CREATE TABLE linkscc (
+  lcc_pageid INT UNSIGNED NOT NULL UNIQUE KEY,
+  lcc_title VARCHAR(255) NOT NULL UNIQUE KEY,
+  lcc_cacheobj MEDIUMBLOB NOT NULL
+) TYPE=MyISAM;
+
 DROP TABLE IF EXISTS imagelinks;
 CREATE TABLE imagelinks (
   il_from varchar(255) binary NOT NULL default '',
@@ -173,6 +180,7 @@ CREATE TABLE math (
   UNIQUE KEY math_inputhash (math_inputhash)
 ) TYPE=MyISAM;
 
+
 -- Table searchindex must be MyISAM for fulltext support
 
 DROP TABLE IF EXISTS searchindex;
index 6653591..b3c04ee 100644 (file)
@@ -1,5 +1,18 @@
 <?
 
+
+/*
+
+  TODO: Links cache will be very unhappy without a table like this //e23
+
+       CREATE TABLE linkscc (lcc_pageid INT UNSIGNED NOT NULL UNIQUE KEY,
+                             lcc_title VARCHAR(255) NOT NULL UNIQUE KEY,
+                             lcc_cacheobj MEDIUMBLOB NOT NULL);
+
+*/
+
+
+
 # Update already-installed software
 #