r90383 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90382‎ | r90383 | r90384 >
Date:04:57, 19 June 2011
Author:aaron
Status:ok
Tags:
Comment:
Follow-up r90024: make frs_stat_val a BIGINT as in PG
Modified paths:
  • /trunk/extensions/FlaggedRevs/schema/mysql/FlaggedRevs.sql (modified) (history)
  • /trunk/extensions/FlaggedRevs/schema/mysql/patch-flaggedrevs_statistics.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/schema/mysql/FlaggedRevs.sql
@@ -146,7 +146,7 @@
147147 -- Stat key name, colons separate paramaters
148148 frs_stat_key varchar(255) NOT NULL,
149149 -- Stat value as an integer
150 - frs_stat_val integer unsigned NOT NULL,
 150+ frs_stat_val bigint NOT NULL,
151151 PRIMARY KEY(frs_stat_key,frs_timestamp)
152152 ) /*$wgDBTableOptions*/;
153153 CREATE INDEX /*i*/frs_timestamp ON /*_*/flaggedrevs_statistics (frs_timestamp);
Index: trunk/extensions/FlaggedRevs/schema/mysql/patch-flaggedrevs_statistics.sql
@@ -9,7 +9,7 @@
1010 -- Stat key name, colons separate paramaters
1111 frs_stat_key varchar(255) NOT NULL,
1212 -- Stat value as an integer
13 - frs_stat_val integer unsigned NOT NULL,
 13+ frs_stat_val bigint NOT NULL,
1414 PRIMARY KEY(frs_stat_key,frs_timestamp)
1515 ) /*$wgDBTableOptions*/;
1616 CREATE INDEX /*i*/frs_timestamp ON /*_*/flaggedrevs_statistics (frs_timestamp);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90024* Moved stats storage to new table. This makes adding stats easier and allows...aaron00:30, 14 June 2011

Status & tagging log