From 4e8204bf803fe89cf485b938fc6de55d8e13b0da Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 6 Apr 2011 14:30:58 +0000 Subject: [PATCH] Fix typo in gserialized_overlaps (contains->overlaps). Fixes ticket #869. git-svn-id: http://svn.osgeo.org/postgis/trunk@7007 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/gserialized_gist_nd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgis/gserialized_gist_nd.c b/postgis/gserialized_gist_nd.c index 0d494dd41..1c7030950 100644 --- a/postgis/gserialized_gist_nd.c +++ b/postgis/gserialized_gist_nd.c @@ -681,7 +681,7 @@ Datum gserialized_contains(PG_FUNCTION_ARGS) PG_FUNCTION_INFO_V1(gserialized_overlaps); Datum gserialized_overlaps(PG_FUNCTION_ARGS) { - if ( gserialized_datum_predicate(PG_GETARG_DATUM(0),PG_GETARG_DATUM(1), gidx_contains) == LW_TRUE ) + if ( gserialized_datum_predicate(PG_GETARG_DATUM(0),PG_GETARG_DATUM(1), gidx_overlaps) == LW_TRUE ) { PG_RETURN_BOOL(TRUE); } @@ -1442,4 +1442,4 @@ Datum gidx_out(PG_FUNCTION_ARGS) ereport(ERROR,(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("function gidx_out not implemented"))); PG_RETURN_POINTER(NULL); -} \ No newline at end of file +} -- 2.50.1