From: Alan Knowles Date: Fri, 29 Jun 2018 07:33:27 +0000 (+0800) Subject: src/strip.vala X-Git-Url: http://git.roojs.org/?p=app.mailtrimmer;a=commitdiff_plain;h=238686cddccc00079d64d663240a327acd86b9d8 src/strip.vala --- diff --git a/src/strip.vala b/src/strip.vala index 5b55d52..fbd39d4 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -372,7 +372,8 @@ public class Strip : GLib.Object { // that should wipe out dupes. var matches = this.execute("SELECT count(id) FROM Attachment WHERE id = %d".printf( int.parse(sid))); - + GLib.error("Got Matches :%s", matches); + if (matches=="0") { GLib.error("Failed to find id :%s", sid); return;