[postgis-tickets] r14831 - #3524, add interruptibility to geography brute force distance calculation
Paul Ramsey
pramsey at cleverelephant.ca
Tue Apr 12 12:19:27 PDT 2016
Author: pramsey
Date: 2016-04-12 12:19:27 -0700 (Tue, 12 Apr 2016)
New Revision: 14831
Modified:
branches/2.2/NEWS
branches/2.2/liblwgeom/lwgeodetic.c
Log:
#3524, add interruptibility to geography brute force distance calculation
Modified: branches/2.2/NEWS
===================================================================
--- branches/2.2/NEWS 2016-04-11 18:42:26 UTC (rev 14830)
+++ branches/2.2/NEWS 2016-04-12 19:19:27 UTC (rev 14831)
@@ -3,6 +3,8 @@
* Bug Fixes *
+ - #3524, Add interruptibility to geography brute-force distance
+ calculation
PostGIS 2.2.2
Modified: branches/2.2/liblwgeom/lwgeodetic.c
===================================================================
--- branches/2.2/liblwgeom/lwgeodetic.c 2016-04-11 18:42:26 UTC (rev 14830)
+++ branches/2.2/liblwgeom/lwgeodetic.c 2016-04-12 19:19:27 UTC (rev 14831)
@@ -1907,6 +1907,7 @@
/* Copy end to start to allow a new end value in next iteration */
e1.start = e1.end;
A1 = A2;
+ LW_ON_INTERRUPT(return -1.0);
}
LWDEBUGF(4,"finished all loops, returning %.8g", distance);
More information about the postgis-tickets
mailing list