[Dive4elements-commits] [PATCH] Use left join on time intervals as they can be NULL
Wald Commits
scm-commit at wald.intevation.org
Tue Apr 2 13:02:17 CEST 2013
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1364900532 -7200
# Node ID 52876daf97b0c2a3c2804cfdd8b7805f3eaab014
# Parent 33d735f5433e087e1909bf26230e4bc0d487a2c3
Use left join on time intervals as they can be NULL
diff -r 33d735f5433e -r 52876daf97b0 flys-artifacts/doc/conf/meta-data.xml
--- a/flys-artifacts/doc/conf/meta-data.xml Tue Apr 02 08:58:24 2013 +0200
+++ b/flys-artifacts/doc/conf/meta-data.xml Tue Apr 02 13:02:12 2013 +0200
@@ -896,7 +896,7 @@
d.projection || ' | ' || t.start_time || ' - ' || t.stop_time AS info
FROM dem d
JOIN ranges r ON d.range_id = r.id
- JOIN time_intervals t ON d.time_interval_id = t.id
+ LEFT JOIN time_intervals t ON d.time_interval_id = t.id
WHERE d.river_id = ${river_id}
</dc:statement>
<dc:for-each>
More information about the Dive4elements-commits
mailing list