From 6aebe1799ef268f5bc1ea0c90c359efb039c3a55 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 1 Mar 2006 11:09:18 +0000 Subject: [PATCH] Fixed bug 2861. cl_timestamp isn't used for anything, but it's got no default so strictly speaking we have to insert something there. Inserting 0 which the MySQL manual says is valid for timestamp columns. This is easier than adding yet another SQL patch file to define a default. --- includes/LinksUpdate.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index 419d3d60f1..cac96adced 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -320,7 +320,8 @@ class LinksUpdate { $arr[] = array( 'cl_from' => $this->mId, 'cl_to' => $name, - 'cl_sortkey' => $sortkey + 'cl_sortkey' => $sortkey, + 'cl_timestamp' => 0 ); } return $arr; -- 2.20.1