[postgis-tickets] [PostGIS] #3090: A confusing line in Raster/rt_pg/rt_pg.c
PostGIS
trac at osgeo.org
Tue Mar 24 03:07:01 PDT 2015
#3090: A confusing line in Raster/rt_pg/rt_pg.c
--------------------+-------------------------------------------------------
Reporter: kain | Owner: dustymugs
Type: patch | Status: new
Priority: low | Milestone: PostGIS 2.1.7
Component: raster | Version: 2.1.x
Keywords: |
--------------------+-------------------------------------------------------
Comment(by kain):
Replying to [comment:1 kain]:
> And & will force PG_GETARG_BOOL(6) be invoked no matter @6 is NULL or
not, it is incorrect from logical side.
Another example, {{{ if ( NOTNULL(p) && SUCCESS_FREE(p) ) }}}, if we use &
instead of &&, the app will crash, so & and && are not equal even both
left/right are BOOL.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3090#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list