Re: Re: Release process
| From: | Andrei Zmievski | Date: | Thu, 03 May 2001 14:03:22 +0000 |
| Subject: | Re: Re: Release process | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-53613@lists.php.net to get a copy of this message | ||
On Thu, 03 May 2001, Zeev Suraski wrote:
> Hmmm, looks like the MySQL module was changed to add NULL elements to the
> array. It even looks as if you changed it :)
> I intentionally removed the code that populated return values with NULL's,
> to avoid inconsistencies. People should use the mysql_fetch_field() to
> check which fields there are.
> I'd like to change it back...
Yes, I changed it a while ago because it seems logical that the result
array should be representative of what is in the database. If I run a
query "select field1, field2, field3 from table", then I'd better have
all three fields in the result array, rather than hunting for which
field was omitted.
-Andrei
"Freedom comes when you learn to let go.
Creation comes when you learn to say no."
-madonna