From: Bborie Park Date: Tue, 24 Mar 2015 13:46:59 +0000 (+0000) Subject: invalid operator. Ticket #3090 X-Git-Tag: 2.2.0rc1~570 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f93d1ae0e9b4295f6354d811991eea7adb8edac5;p=postgis invalid operator. Ticket #3090 git-svn-id: http://svn.osgeo.org/postgis/trunk@13395 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_pg/rtpg_pixel.c b/raster/rt_pg/rtpg_pixel.c index 364e1fd1d..3d8662111 100644 --- a/raster/rt_pg/rtpg_pixel.c +++ b/raster/rt_pg/rtpg_pixel.c @@ -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;