changeset 6031:cb4dee704555

Do not use from and to as variables in statement. Those are keywords.
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 16 May 2013 17:48:20 +0200
parents d12f920bbf00
children 1883a133a1c6
files artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Thu May 16 16:14:28 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Thu May 16 17:48:20 2013 +0200
@@ -566,13 +566,13 @@
               <dc:for-each>
                 <dc:context>
                   <dc:statement>
-                    SELECT min(station) AS from,
-                           max(station) AS to
+                    SELECT min(station) AS from_station,
+                           max(station) AS to_station
                     FROM morphologic_width_values
                     WHERE morphologic_width_id = ${width_id}
                   </dc:statement>
                   <dc:for-each>
-                    <morphologic-width name="{$from} - {$to}"
+                    <morphologic-width name="{$from_station} - {$to_station}"
                                        ids="{$width_id}"
                                        factory="morph-width"/>
                   </dc:for-each>

http://dive4elements.wald.intevation.org