From 256625330cbe5f94a10f3f5bc5699d24008e7d36 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 9 Feb 2012 19:19:09 +0000 Subject: [PATCH] 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 --- postgis/lwgeom_cache.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.40.0