Preserve cl_timestamp in updateCollation.php
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 4 Aug 2010 00:29:20 +0000 (00:29 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 4 Aug 2010 00:29:20 +0000 (00:29 +0000)
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 . . . ?

maintenance/updateCollation.php

index beea497..52b31be 100644 (file)
@@ -91,6 +91,7 @@ TEXT;
                                                'cl_sortkey_prefix' => $prefix,
                                                'cl_collation' => $wgCollationVersion,
                                                'cl_type' => $type,
+                                               'cl_timestamp = cl_timestamp',
                                        ),
                                        array( 'cl_from' => $row->cl_from, 'cl_to' => $row->cl_to ),
                                        __METHOD__