From: Alan Knowles Date: Fri, 29 Jun 2018 08:17:38 +0000 (+0800) Subject: src/strip.vala X-Git-Url: http://git.roojs.org/?p=app.mailtrimmer;a=commitdiff_plain;h=e665c848f8340e92067b0bb095d7757f112fa272 src/strip.vala --- diff --git a/src/strip.vala b/src/strip.vala index d2316da..f486c20 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -452,10 +452,9 @@ public class Strip : GLib.Object { ,GLib.FileQueryInfoFlags.NONE,null); var file_size = (int) fileinfo.get_size(); - - + - this.execute(""" + this.real_query(-1, """ INSERT INTO Attachment ( @@ -685,11 +684,11 @@ public class Strip : GLib.Object { } public string query(string str) { - return this.real_query(true, str); + return this.real_query(1, str); } public string execute(string str) { - return this.real_query(false, str); + return this.real_query(0, str); } /** * need_return