Re: Interbase module patch

From: Date: Fri, 01 Mar 2002 14:07:06 +0000
Subject: Re: Interbase module patch
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80559@lists.php.net to get a copy of this message
Hello, I applied it, thanks! Derick On Fri, 1 Mar 2002, Daniela Mariaschi wrote: > Following up from bug #15602, I have written a patch to return NULL and > empty fields from ibase_fetch_row() and ibase_fetch_object(). > > The current implementation of those two functions skips (ignores) empty or > NULL fields, returning rows of different lenghts in a result set, depending > of the number of NULL fields in each row. > > Daniela Mariaschi > > Index: interbase.c > =================================================================== > RCS file: /repository/php4/ext/interbase/interbase.c,v > retrieving revision 1.75 > diff -r1.75 interbase.c > 2109c2109 > < break; > --- > > break; > 2119c2119,2125 > < } /* if not null */ > --- > > } else { > > if (fetch_type & FETCH_ARRAY) { > > add_index_null(return_value, i); > > } else { > > add_property_null(return_value, > var->aliasname); > > } > > } > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.dev (#80559) next »