php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7750 mysql_free_result calling a valid result index and invalid result index
Submitted: 2000-11-10 12:45 UTC Modified: 2000-11-10 21:17 UTC
From: saladad at transformingt dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.3pl1 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: saladad at transformingt dot com
New email:
PHP Version: OS:

 

 [2000-11-10 12:45 UTC] saladad at transformingt dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-10 21:17 UTC] sniper@php.net
--
mysql_(db_)query() doesn't return a result resource with a DELETE,
INSERT, or UPDATE statement, just success or failure. 
--
Ignacio Vazquez-Abrams
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 22 05:00:02 2026 UTC