[postgis-tickets] [PostGIS] #3090: A confusing line in Raster/rt_pg/rt_pg.c
PostGIS
trac at osgeo.org
Tue Mar 24 02:50:19 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: |
--------------------+-------------------------------------------------------
In function RASTER_setPixelValuesArray() of aster/rt_pg/rt_pg.c:
{{{
3538 - else if (!PG_ARGISNULL(6) & PG_GETARG_BOOL(6)) {
3538 + else if (!PG_ARGISNULL(6) && PG_GETARG_BOOL(6)) {
}}}
I'm confused, because BOOL & BOOL == BOOL && BOOL seems correct, but it's
only logical, we will never know what happens in C language, right?
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3090>
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