Restore SET cl_timestamp=cl_timestamp
authorTim Starling <tstarling@wikimedia.org>
Tue, 12 Mar 2013 23:18:12 +0000 (10:18 +1100)
committerTim Starling <tstarling@wikimedia.org>
Tue, 12 Mar 2013 23:18:12 +0000 (10:18 +1100)
Apparently cl_timestamp=cl_timestamp is a workaround for obscure
behaviour of the timestamp type in MySQL

Change-Id: I803f20bcf4e28e8e2833a07bcf00e7edc00ad84b

maintenance/updateCollation.php

index 2132938..0e2791c 100644 (file)
@@ -178,6 +178,7 @@ TEXT;
                                                        'cl_sortkey_prefix' => $prefix,
                                                        'cl_collation' => $collationName,
                                                        'cl_type' => $type,
+                                                       'cl_timestamp = cl_timestamp',
                                                ),
                                                array( 'cl_from' => $row->cl_from, 'cl_to' => $row->cl_to ),
                                                __METHOD__