From 1f4e56aedb82cdbbd973539da142e555dc19e255 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 29 Jun 2018 16:11:15 +0800 Subject: [PATCH] src/strip.vala --- src/strip.vala | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/strip.vala b/src/strip.vala index c9c997b..2ff0749 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -476,7 +476,8 @@ public class Strip : GLib.Object { mime_size , filesize, - checksum + checksum, + created ) VALUES ( %d, -- id @@ -494,8 +495,9 @@ public class Strip : GLib.Object { 0, %d, -- size %d, -- size - '%s' -- checkum - + + '%s', -- checkum + '%s' --created: )" @@ -507,13 +509,14 @@ public class Strip : GLib.Object { this.mysql_escape(file_path), file_size file_size - this.mysql_escape(chksum) + this.mysql_escape(chksum), + this.created_date )); // this is done to fix the queue_id or maillog_id ?? this.query(""" SELECT attachment_update( %d, -- in_id INT(11), - + '', -- mime type '%s', -- in_created DATETIME, '%s' -- in_mailfort_sig varchar(64) ) -- 2.39.2