From e665c848f8340e92067b0bb095d7757f112fa272 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 29 Jun 2018 16:17:38 +0800 Subject: [PATCH] src/strip.vala --- src/strip.vala | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 -- 2.39.2