r23217 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23216‎ | r23217 | r23218 >
Date:13:58, 22 June 2007
Author:robchurch
Status:old
Tags:
Comment:
CHAR is on crack
Modified paths:
  • /branches/robchurch/pr_timestamp/maintenance/archives/patch-pr_timestamp.sql (modified) (history)
  • /branches/robchurch/pr_timestamp/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: branches/robchurch/pr_timestamp/maintenance/archives/patch-pr_timestamp.sql
@@ -1,4 +1,4 @@
22 -- Add page_restrictions.pr_timestamp column
33 -- (Rob Church, June 2007)
44 ALTER TABLE /*wgDBprefix*/page_restrictions
5 -ADD `pr_timestamp` CHAR(14) BINARY NULL AFTER `pr_user`;
\ No newline at end of file
 5+ADD `pr_timestamp` VARCHAR(14) BINARY NULL AFTER `pr_user`;
\ No newline at end of file
Index: branches/robchurch/pr_timestamp/maintenance/tables.sql
@@ -1134,7 +1134,7 @@
11351135 -- Field for future support of per-user restriction.
11361136 pr_user int(8) NULL,
11371137 -- Timestamp of the protection event
1138 - pr_timestamp CHAR(14) BINARY NULL,
 1138+ pr_timestamp VARCHAR(14) BINARY NULL,
11391139 -- Field for time-limited protection.
11401140 pr_expiry char(14) binary NULL,
11411141 -- Field for an ID for this restrictions row (sort-key for Special:ProtectedPages)

Status & tagging log