[postgis-commits] svn - r3089 - trunk/lwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Fri Oct 10 09:34:24 PDT 2008
Author: pramsey
Date: 2008-10-10 09:34:24 -0700 (Fri, 10 Oct 2008)
New Revision: 3089
Modified:
trunk/lwgeom/lwgeom_geos.c
Log:
Pull prep_cache reference safely inside PREPARED_GEOM #ifdef
Modified: trunk/lwgeom/lwgeom_geos.c
===================================================================
--- trunk/lwgeom/lwgeom_geos.c 2008-10-10 05:24:08 UTC (rev 3088)
+++ trunk/lwgeom/lwgeom_geos.c 2008-10-10 16:34:24 UTC (rev 3089)
@@ -1628,9 +1628,9 @@
initGEOS(lwnotice, lwnotice);
+#ifdef PREPARED_GEOM
prep_cache = GetPrepGeomCache( fcinfo, geom1, 0 );
-#ifdef PREPARED_GEOM
if ( prep_cache && prep_cache->prepared_geom && prep_cache->argnum == 1 )
{
GEOSGeom g1 = POSTGIS2GEOS(geom2);
More information about the postgis-commits
mailing list