projects
/
app.mailtrimmer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09d27d
)
src/strip.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 29 Jun 2018 07:40:59 +0000
(15:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 29 Jun 2018 07:40:59 +0000
(15:40 +0800)
src/strip.vala
patch
|
blob
|
history
diff --git
a/src/strip.vala
b/src/strip.vala
index
53eb9c6
..
404c132
100644
(file)
--- a/
src/strip.vala
+++ b/
src/strip.vala
@@
-627,15
+627,20
@@
public class Strip : GLib.Object {
}
if (!need_return) {
- GLib.debug("got %s", got_row ? "=Nothing=" : ret);
+ if (StripApplication.opt_debug_sql) {
+ GLib.debug("got %s", got_row ? "=Nothing=" : ret);
+ }
return got_row ? "" : ret;
}
if (!got_row) {
+
GLib.debug("ERROR : no rows returned");
Posix.exit(1);
return "";
}
- GLib.debug("got %s", ret);
+ if (StripApplication.opt_debug_sql) {
+ GLib.debug("got %s", ret);
+ }
return ret;