From: Daniel Baston Date: Wed, 4 May 2016 00:20:57 +0000 (+0000) Subject: Fix debug output X-Git-Tag: 2.3.0beta1~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf20185822811f3b50df05b2b07c534c10592045;p=postgis Fix debug output git-svn-id: http://svn.osgeo.org/postgis/trunk@14880 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c index 690dc7a7e..a87fda923 100644 --- a/postgis/lwgeom_geos.c +++ b/postgis/lwgeom_geos.c @@ -1811,7 +1811,7 @@ Datum contains(PG_FUNCTION_ARGS) } else { - POSTGIS_DEBUGF(3, "Contains: type1: %d, type2: %d", type1, type2); + POSTGIS_DEBUGF(3, "Contains: type1: %d, type2: %d", gserialized_get_type(geom1), gserialized_get_type(geom2)); } initGEOS(lwpgnotice, lwgeom_geos_error); @@ -2030,7 +2030,7 @@ Datum covers(PG_FUNCTION_ARGS) } else { - POSTGIS_DEBUGF(3, "Covers: type1: %d, type2: %d", type1, type2); + POSTGIS_DEBUGF(3, "Covers: type1: %d, type2: %d", gserialized_get_type(geom1), gserialized_get_type(geom2)); } initGEOS(lwpgnotice, lwgeom_geos_error); @@ -2181,7 +2181,7 @@ Datum coveredby(PG_FUNCTION_ARGS) } else { - POSTGIS_DEBUGF(3, "CoveredBy: type1: %d, type2: %d", type1, type2); + POSTGIS_DEBUGF(3, "CoveredBy: type1: %d, type2: %d", gserialized_get_type(geom1), gserialized_get_type(geom2)); } initGEOS(lwpgnotice, lwgeom_geos_error);