]> granicus.if.org Git - postgis/commitdiff
invalid operator. Ticket #3090
authorBborie Park <bkpark at ucdavis.edu>
Tue, 24 Mar 2015 13:46:59 +0000 (13:46 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Tue, 24 Mar 2015 13:46:59 +0000 (13:46 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13395 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rtpg_pixel.c

index 364e1fd1d55c04ddb6a060d964760761696a8cef..3d8662111163e392fa67baafa4a2d23ff4e96ace 100644 (file)
@@ -963,7 +963,7 @@ Datum RASTER_setPixelValuesArray(PG_FUNCTION_ARGS)
                pfree(nulls);
        }
        /* hasnosetvalue and nosetvalue */
-       else if (!PG_ARGISNULL(6) & PG_GETARG_BOOL(6)) {
+       else if (!PG_ARGISNULL(6) && PG_GETARG_BOOL(6)) {
                hasnosetval = TRUE;
                if (PG_ARGISNULL(7))
                        nosetvalisnull = TRUE;