]> granicus.if.org Git - postgis/commitdiff
Drop temporary table at end of ValidateTopology (#1797)
authorSandro Santilli <strk@keybit.net>
Tue, 12 Jun 2012 10:46:58 +0000 (10:46 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 12 Jun 2012 10:46:58 +0000 (10:46 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9896 b70326c6-7e19-0410-871a-916f4a2858ee

topology/test/regress/validatetopology.sql
topology/test/regress/validatetopology_expected
topology/topology.sql.in.c

index f9c9236a89e614f12848ad2250f237538e83d0f8..f44b1e8bff2d353d798ee21392499f2556720c00 100644 (file)
@@ -16,6 +16,9 @@ COPY t.edge_data (edge_id, start_node, end_node, next_left_edge, abs_next_left_e
 \.
 SELECT '#1789', * FROM ValidateTopology('t') UNION 
 SELECT '#1789', '---', null, null ORDER BY 1,2,3,4;
-select null from ( select topology.DropTopology('t') ) as dt;
 
+SELECT '#1797', (ValidateTopology('t')).* UNION 
+SELECT '#1797', '---', null, null ORDER BY 1,2,3,4;
+
+select null from ( select topology.DropTopology('t') ) as dt;
 
index 8fe2cef51673efd2235629f661beddbf1fdecd3e..c3de1744bb846e3c03dc6209387e25892a00b357 100644 (file)
@@ -1 +1,2 @@
 #1789|---||
+#1797|---||
index f84d65a856ce12309eb6c578c6cf8208ad10e103..01b927a0611fb445b176cba93c31291ea67433e6 100644 (file)
@@ -1617,6 +1617,8 @@ BEGIN
   END LOOP;
 #endif
 
+  DROP TABLE face_check;
+
   RETURN;
 END
 $$