r23650 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23649‎ | r23650 | r23651 >
Date:16:33, 2 July 2007
Author:tstarling
Status:old
Tags:
Comment:
Bug 10435: oi_name_archive_name index length overflow
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-oi_metadata.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-oi_metadata.sql
@@ -8,7 +8,7 @@
99 ALTER TABLE /*$wgDBprefix*/oldimage
1010 DROP INDEX oi_name,
1111 ADD INDEX oi_name_timestamp (oi_name,oi_timestamp),
12 - ADD INDEX oi_name_archive_name (oi_name,oi_archive_name),
 12+ ADD INDEX oi_name_archive_name (oi_name,oi_archive_name(14)),
1313 ADD oi_metadata mediumblob NOT NULL,
1414 ADD oi_media_type ENUM("UNKNOWN", "BITMAP", "DRAWING", "AUDIO", "VIDEO", "MULTIMEDIA", "OFFICE", "TEXT", "EXECUTABLE", "ARCHIVE") default NULL,
1515 ADD oi_major_mime ENUM("unknown", "application", "audio", "image", "text", "video", "message", "model", "multipart") NOT NULL default "unknown",

Follow-up revisions

RevisionCommit summaryAuthorDate
r23662Merged revisions 23581-23661 via svnmerge from...david03:01, 3 July 2007

Status & tagging log