From: Sandro Santilli Date: Tue, 4 Aug 2015 09:21:19 +0000 (+0000) Subject: Avoid the short-circuite of ST_Equals while running interrupt tests X-Git-Tag: 2.2.0rc1~194 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a3b53e73398f658fac799d8624091ef6f303550;p=postgis Avoid the short-circuite of ST_Equals while running interrupt tests See #3226 git-svn-id: http://svn.osgeo.org/postgis/trunk@13871 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/interrupt_relate.sql b/regress/interrupt_relate.sql index c1cbff415..b62042408 100644 --- a/regress/interrupt_relate.sql +++ b/regress/interrupt_relate.sql @@ -47,7 +47,9 @@ SELECT _timecheck('coveredby', '200ms'); select ST_Crosses(g,g) from _inputs WHERE id = 1; -- 6+ seconds SELECT _timecheck('crosses', '200ms'); -select ST_Equals(g,g) from _inputs WHERE id = 1; -- 6+ seconds +-- NOTE: we're reversing one of the operands to avoid the +-- short-circuit described in #3226 +select ST_Equals(g,st_reverse(g)) from _inputs WHERE id = 1; -- 6+ seconds SELECT _timecheck('equals', '200ms'); select ST_Intersects(g,g) from _inputs WHERE id = 1; -- 6+ seconds