Wikia code/maintenance/archives/patch-tc-timestamp.sql
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.42.3. |
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\maintenance\archives\patch-tc-timestamp.sql 2011-07-18 22:30:16.403320300 +0100
+++ D:\Programming\SVN\wikia\trunk\maintenance\archives\patch-tc-timestamp.sql 2011-08-17 15:05:21.954101600 +0100
@@ -1,4 +1,4 @@
ALTER TABLE /*_*/transcache MODIFY tc_time binary(14);
UPDATE /*_*/transcache SET tc_time = DATE_FORMAT(FROM_UNIXTIME(tc_time), "%Y%c%d%H%i%s");
-INSERT INTO /*_*/updatelog VALUES ('convert transcache field');
+INSERT IGNORE INTO /*_*/updatelog VALUES ('convert transcache field');