php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8245 OCILogOff($conn) cann't free the handle
Submitted: 2000-12-13 20:30 UTC Modified: 2001-01-07 19:35 UTC
From: arnoldguo at sohu dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.3pl1 OS: RedHat Linux 6.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: arnoldguo at sohu dot com
New email:
PHP Version: OS:

 

 [2000-12-13 20:30 UTC] arnoldguo at sohu dot com
In PHP4.0.3 after you use OCILogOff($Conn)to free the connection with Orale8 database,you can still use $Conn to visit the database.But in PHP3 OCILogOff() can free the handle. 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-07 19:35 UTC] sniper@php.net
From oci8.c: (in the ocilogoff function):
---------------------------
 this function does nothing any more. server-connections get automagiclly closed 
on request-end. connection handles will "dissappear" as soon as they are no longer
referenced. as this module makes heavy use of zends reference-counting mechanism this is the desired behavior. it has always been a bad idea to close a
 connection that has outstanding transactions. this way we have a nice-clean approach.  (thies@thieso.net 20000110)


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC