PHP 4.0 Bug #8245 Updated: OCILogOff($conn) cann't free the handle

From: Date: Mon, 08 Jan 2001 00:35:11 +0000
Subject: PHP 4.0 Bug #8245 Updated: OCILogOff($conn) cann't free the handle
Groups: php.dev 
Request: Send a blank email to php-dev+get-43291@lists.php.net to get a copy of this message
ID: 8245 Updated by: sniper Reported By: arnoldguo@sohu.com Old-Status: Open Status: Closed Bug Type: OCI8 related Assigned To: Comments: 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) Previous Comments: --------------------------------------------------------------------------- [2000-12-13 20:30:14] arnoldguo@sohu.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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8245

« previous php.dev (#43291) next »