Re: 3.0.12: mysql_store_result in php3_mysql_query

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: 3.0.12: mysql_store_result in php3_mysql_query
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-10481@lists.php.net to get a copy of this message
> > > Why is it returning true if there was an error? mysql_store_result() > > returns > > > NULL if an error occurs. > > Actually no, mysql_store_result() returns NULL in many cases. You may call > them errors, but from our point of view, they aren't. David, did you actually step through the code to verify that mysql_store_result() is returning NULL on your SELECT query? If it is, then I agree with you that there is a problem, otherwise, Zeev is right, the NULL return is likely valid. -Rasmus

« previous php.dev (#10481) next »