#37055 [NEW]: lost link /multiple logns / free statment

From: Date: Wed, 12 Apr 2006 12:57:42 +0000
Subject: #37055 [NEW]: lost link /multiple logns / free statment
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95672@lists.php.net to get a copy of this message
From: ilya dot gruzinov at gmail dot com Operating system: Debian stable PHP version: 5.1.2 PHP Bug Type: OCI8 related Bug description: lost link /multiple logns / free statment Description: ------------ I make 2 connections. After every connect i run query on new link. Then i free statment from results and try run query for second connections and get warning. Reproduce code: --------------- <?php $db1 = oci_pconnect ("ilya", "ilya", "cc10"); $sth1 = OCIParse($db1, "select * from test"); $db2 = oci_pconnect ("ilya", "ilya", "cc10"); $sth2 = OCIParse($db2, "select * from test"); ocifreestatement($sth1); ocifreestatement($sth2); $sth3 = OCIParse($db2, "select * from test"); ?> Expected result: ---------------- _empty_ Actual result: -------------- Warning: ociparse(): 3 is not a valid oci8 connection resource in /home/shagren/public_html/oracle10/test2.php on line 12 -- Edit bug report at http://bugs.php.net/?id=37055&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37055&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37055&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37055&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37055&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37055&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37055&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37055&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37055&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37055&r=support Expected behavior: http://bugs.php.net/fix.php?id=37055&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37055&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37055&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37055&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37055&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37055&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37055&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37055&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37055&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37055&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37055&r=mysqlcfg

« previous php.bugs (#95672) next »