Fixing bug that snuck in around lwgeom checks

pull/1/head
Xavier Stevens 2015-01-20 15:34:55 -08:00
parent 2382a1d8d1
commit e19e93e715
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ static bool geography_point_as_decoderbufs_point(Datum datum,
lwgeom = lwgeom_from_gserialized(geom);
point = lwgeom_as_lwpoint(lwgeom);
if (!lwgeom_is_empty(lwgeom)) {
if (lwgeom_is_empty(lwgeom)) {
return false;
}