php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22982 interbase freeresult does not work (missing parameter)
Submitted: 2003-03-31 09:12 UTC Modified: 2003-03-31 13:57 UTC
From: dbadmin at avenet dot stw dot uni-erlangen dot de Assigned:
Status: Not a bug Package: PEAR related
PHP Version: 4.3.1 OS: linux
Private report: No CVE-ID: None
 [2003-03-31 09:12 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-31 13:57 UTC] mj@php.net
Please get the latest version of DB from http://pear.php.net/. The problem is already fixed there.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC