this is the Daniela Mariachi message
| From: | eXParTaKus | Date: | Sat, 02 Nov 2002 11:42:21 +0000 |
| Subject: | this is the Daniela Mariachi message | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-90444@lists.php.net to get a copy of this message | ||
this is the Daniela Mariachi...
> 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);
> > }
> > }