summaryrefslogtreecommitdiff
path: root/src/db/DatabaseTable.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-29 23:24:31 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-29 23:24:31 +0200
commit72e3d4c55a6569d966059f762824c38d06055871 (patch)
treecc0013086494a7c97140ffdb4a0513a5f5aac245 /src/db/DatabaseTable.vala
parentb076314018e4b53d745823754a26eb6fb73a2801 (diff)
New upstream version 0.25.0upstream/0.25.0
Diffstat (limited to 'src/db/DatabaseTable.vala')
-rw-r--r--src/db/DatabaseTable.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/DatabaseTable.vala b/src/db/DatabaseTable.vala
index 4fc8853..5ec5be1 100644
--- a/src/db/DatabaseTable.vala
+++ b/src/db/DatabaseTable.vala
@@ -53,7 +53,7 @@ public abstract class DatabaseTable {
unowned string? sql_debug = Environment.get_variable
("SHOTWELL_SQL_DEBUG");
- if (sql_debug != "") {
+ if (sql_debug != null && sql_debug != "") {
db.trace (on_trace);
}
}