Commit 79a26e28 authored by Regina Obe's avatar Regina Obe

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
parent aa09c3ea
Pipeline #49308700 passed with stage
in 30 minutes and 58 seconds
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment