r70444 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70443‎ | r70444 | r70445 >
Date:00:29, 4 August 2010
Author:simetrical
Status:ok
Tags:
Comment:
Preserve cl_timestamp in updateCollation.php

For those crazy Wikinews people, and other DPL users. Why do we use a
crazy auto-updating column type instead of specifying the current time
explicitly when we want to update it, again . . . ?
Modified paths:
  • /trunk/phase3/maintenance/updateCollation.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updateCollation.php
@@ -91,6 +91,7 @@
9292 'cl_sortkey_prefix' => $prefix,
9393 'cl_collation' => $wgCollationVersion,
9494 'cl_type' => $type,
 95+ 'cl_timestamp = cl_timestamp',
9596 ),
9697 array( 'cl_from' => $row->cl_from, 'cl_to' => $row->cl_to ),
9798 __METHOD__

Status & tagging log