From 958a513e779b8b9a8dc065dca39b3cef026f0dd7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 4 May 2018 13:24:21 +0800 Subject: [PATCH] src/strip.vala --- src/strip.vala | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/strip.vala b/src/strip.vala index 2414bc8..d941b8a 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -454,6 +454,17 @@ public class Strip : GLib.Object { GLib.debug("fn = %s, m5=%s, id= %s", filename, mime_type, this.active_message_id); this.query(""" + + SELECT attachment_update( + %d, -- in_id INT(11), + '%s', -- in_mime_type varchar(255), + %d, -- in_mime_size int(11), + '%s', --in_created DATETIME, + '%s', -- in_mailfort_sig varchar(64) + + ) as result + + INSERT INTO Attachment ( -- 2.39.2