#22982 [Opn->Bgs]: interbase freeresult does not work (missing parameter)
| From: | mj@php.net | Date: | Mon, 31 Mar 2003 19:58:00 +0000 |
| Subject: | #22982 [Opn->Bgs]: interbase freeresult does not work (missing parameter) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-14738@lists.php.net to get a copy of this message | ||
ID: 22982
Updated by: mj@php.net
Reported By: dbadmin at avenet dot stw dot uni-erlangen dot de
-Status: Open
+Status: Bogus
Bug Type: PEAR related
Operating System: linux
PHP Version: 4.3.1
New Comment:
Please get the latest version of DB from http://pear.php.net/.
The
problem is already fixed there.
Previous Comments:
------------------------------------------------------------------------
[2003-03-31 09:12:34] dbadmin at avenet dot stw dot uni-erlangen dot de
It seems that in the file
pear/DB/ibase.php
a parameter is missing for the
function freeResult()
therfore an error occurs when calling $result->free:
Notice: Undefined variable: result in /usr/share/pear/DB/ibase.php on
line 211
when chaning the function to
function freeResult($result)
everything works fine.
in the other db-files eg. mysql.php this parameter $result is
available.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22982&edit=1