From: Sandro Santilli Date: Fri, 23 Mar 2012 17:08:08 +0000 (+0000) Subject: Add debugging lines to sqlmm edge splitting functions X-Git-Tag: 2.0.0rc1~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbfe439e677653a4541b42e3c909268758ec33ab;p=postgis Add debugging lines to sqlmm edge splitting functions git-svn-id: http://svn.osgeo.org/postgis/trunk@9536 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/sql/sqlmm.sql.in.c b/topology/sql/sqlmm.sql.in.c index 8676605b8..103aaf017 100644 --- a/topology/sql/sqlmm.sql.in.c +++ b/topology/sql/sqlmm.sql.in.c @@ -1922,6 +1922,10 @@ BEGIN edgeid2 = rec.nextval; END LOOP; +#ifdef POSTGIS_TOPOLOGY_DEBUG + RAISE DEBUG ' inserting new edges % and % split from %', edgeid1, edgeid2, anedge; +#endif + --RAISE NOTICE 'EdgeId1 % EdgeId2 %', edgeid1, edgeid2; --RAISE DEBUG 'oldedge.next_left_edge: %', oldedge.next_left_edge; @@ -2207,6 +2211,10 @@ BEGIN newedgeid = rec.nextval; END LOOP; +#ifdef POSTGIS_TOPOLOGY_DEBUG + RAISE DEBUG ' inserting new edge % split from %', newedgeid, anedge; +#endif + -- -- Insert the new edge --