[GRASS-SVN] r58291 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 24 09:18:25 PST 2013


Author: martinl
Date: 2013-11-24 09:18:25 -0800 (Sun, 24 Nov 2013)
New Revision: 58291

Modified:
   grass/trunk/lib/vector/Vlib/open_pg.c
Log:
vlib(pg): fix typo in SQL statement

Modified: grass/trunk/lib/vector/Vlib/open_pg.c
===================================================================
--- grass/trunk/lib/vector/Vlib/open_pg.c	2013-11-24 16:26:40 UTC (rev 58290)
+++ grass/trunk/lib/vector/Vlib/open_pg.c	2013-11-24 17:18:25 UTC (rev 58291)
@@ -1368,7 +1368,7 @@
         sprintf(stmt,
                 "SELECT node_id,tt.geom,containing_face,ft.%s FROM "
                 "\"%s\".node AS tt LEFT JOIN \"%s\" AS ft ON "
-                "(%s).type = 3 AND (%s).id = containing_face WHERE containing_face"
+                "(%s).type = 3 AND (%s).id = containing_face WHERE containing_face "
                 "IS NOT NULL AND node_id NOT IN "
                 "(SELECT node FROM (SELECT start_node AS node FROM \"%s\".edge "
                 "GROUP BY start_node UNION ALL SELECT end_node AS node FROM "



More information about the grass-commit mailing list