Re: PHP 4.0 Bug #7750: mysql_free_result calling a valid result index and invalid result index
| From: | Ignacio Vazquez-Abrams | Date: | Fri, 10 Nov 2000 17:50:28 +0000 |
| Subject: | Re: PHP 4.0 Bug #7750: mysql_free_result calling a valid result index and invalid result index | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37704@lists.php.net to get a copy of this message | ||
On 10 Nov 2000 saladad@transformingt.com wrote:
> From: saladad@transformingt.com
> Operating system: linux
> PHP version: 4.0.3pl1
> PHP Bug Type: MySQL related
> Bug description: mysql_free_result calling a valid result index and invalid result index
>
> When using mysql_free_result(), I get the following error:
> "Warning: Supplied argument is not a valid MySQL result resource in whatever.php on line
> ..."
> This occurs when updating information in a database. The information is updated just fine and
> the result index is a non-zero integer. The only problem seems to be in freeing the result.
>
mysql_(db_)query() doesn't return a result resource with a DELETE,
INSERT, or UPDATE statement, just success or failure. RTM.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>