From: Alan Knowles Date: Fri, 29 Jun 2018 08:11:15 +0000 (+0800) Subject: src/strip.vala X-Git-Url: http://git.roojs.org/?p=app.mailtrimmer;a=commitdiff_plain;h=1f4e56aedb82cdbbd973539da142e555dc19e255 src/strip.vala --- 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) )