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

index 72970f7..8b81b72 100644 (file)
@@ -713,11 +713,11 @@ public class Strip : GLib.Object {
                    GLib.debug("ERROR %u: Query failed: %s\n", this.mysql.errno(), this.mysql.error());
                                Posix.exit(1);
                }
-               
+       var rs = mysql.use_result();
                if (need_return == -1) {
                        return "";
                }
-        var rs = mysql.use_result();
         
         //GLib.debug("got %d rows", (int) rs.num_rows());