PHP 4.0 Bug #7332 Updated: ocilogoff hangs..

From: Date: Mon, 08 Jan 2001 00:40:12 +0000
Subject: PHP 4.0 Bug #7332 Updated: ocilogoff hangs..
Groups: php.dev 
Request: Send a blank email to php-dev+get-43292@lists.php.net to get a copy of this message
ID: 7332 Updated by: sniper Reported By: seagate2@chollian.net Old-Status: Open Status: Closed Bug Type: OCI8 related Assigned To: Comments: From oci8.c: ---------- OCILogOff(): 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-10-19 03:48:45] seagate2@chollian.net I installed php4.0.3pl1 with isapi. I submit two test page PHP in IIS 5.0, one page's result is good. other page's result is good but, inetinfo.exe's cpu ratio up to 90-99%... I can't stop w3svc . so, Reboot... Is it bug? or my mistake? I attached the test page with problem here. <HTML> <HEAD> <TITLE>oci test</TITLE> </HEAD> <BODY> <? function Error_Handler( $msg, $conn ) { echo "$msg n"; OCILogOff( $conn); exit(); } $conn = OCILogon("xxxx", "xxxx", "xxxx"); if( ! $conn ) { Error_handler( "Error in OCILogin" , $conn ); } print "Server Version : ". OCIServerVersion($conn); OCILogOff($conn); ?> </BODY> </HTML> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7332

« previous php.dev (#43292) next »