From: Sandro Santilli Date: Thu, 9 Feb 2012 19:19:09 +0000 (+0000) Subject: Actually save Grand Unified Geom Cache rather than just building it X-Git-Tag: 2.0.0alpha5~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=256625330cbe5f94a10f3f5bc5699d24008e7d36;p=postgis Actually save Grand Unified Geom Cache rather than just building it Fixes #547 git-svn-id: http://svn.osgeo.org/postgis/trunk@9136 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/lwgeom_cache.c b/postgis/lwgeom_cache.c index 7f470fc6b..b53c776d9 100644 --- a/postgis/lwgeom_cache.c +++ b/postgis/lwgeom_cache.c @@ -26,6 +26,7 @@ GeomCache* GetGeomCache(FunctionCallInfoData *fcinfo) MemoryContextSwitchTo(old_context); cache->prep = 0; cache->rtree = 0; + fcinfo->flinfo->fn_extra = cache; } return cache; }