From 79a26e28ef4d26f9ff850fc4df64fb92b9979dec Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Tue, 26 Feb 2019 14:30:13 +0000 Subject: [PATCH] oops didn't notice was LWPOINT and not LWGEOMGet rid of assert causing ST_3DMakeBox to crash References #4331 for PostGIS 3.0 git-svn-id: http://svn.osgeo.org/postgis/trunk@17282 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/lwgeom_box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgis/lwgeom_box.c b/postgis/lwgeom_box.c index 80739d9f3..f4714bf2b 100644 --- a/postgis/lwgeom_box.c +++ b/postgis/lwgeom_box.c @@ -547,7 +547,7 @@ Datum BOX2D_construct(PG_FUNCTION_ARGS) PG_RETURN_NULL(); } - if (lwgeom_is_empty(minpoint) || lwgeom_is_empty(maxpoint) ){ + if (lwpoint_is_empty(minpoint) || lwpoint_is_empty(maxpoint) ){ elog(ERROR, "BOX2D_construct: args can not be empty points"); PG_RETURN_NULL(); } -- 2.40.0