- #2251, Fix bad dimensions when rescaling rasters with default
geotransform matrix
- #2133, Fix performance regression in expression variant of ST_MapAlgebra
+ - #2257, GBOX variables not initialized when testing with empty geometries
PostGIS 2.0.3
2013/03/01
PG_RETURN_NULL();
}
+ gbox_init(&box1);
+ gbox_init(&box2);
+
empty1 = ( gserialized_get_gbox_p(geom1, &box1) == LW_FAILURE );
empty2 = ( gserialized_get_gbox_p(geom2, &box2) == LW_FAILURE );
PG_FREE_IF_COPY(geom1, 0);
PG_FREE_IF_COPY(geom2, 1);
+ POSTGIS_DEBUGF(3, "empty1, empty2 = %d, %d", empty1, empty2);
+ POSTGIS_DEBUGF(4, "%f ~ %f, %f ~ %f, %f ~ %f, %f ~ %f",
+ box1.xmin, box2.xmin, box1.ymin, box2.ymin, box1.xmax, box2.xmax, box1.ymax, box2.ymax);
if ( empty1 != empty2 )
{