src/strip.vala
authorAlan Knowles <alan@roojs.com>
Fri, 29 Jun 2018 08:17:38 +0000 (16:17 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 29 Jun 2018 08:17:38 +0000 (16:17 +0800)
src/strip.vala

index d2316da..f486c20 100644 (file)
@@ -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