Bug #16704 Updated: Screwed up handles while connection multiple DBs
| From: | mfischer@php.net | Date: | Sat, 20 Apr 2002 01:08:12 +0000 |
| Subject: | Bug #16704 Updated: Screwed up handles while connection multiple DBs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5435@lists.php.net to get a copy of this message | ||
ID: 16704
Updated by: mfischer@php.net
Reported By: thomas.hoppe@daimlerchrysler-bank.com
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Windows 2000
PHP Version: 4.1.2
New Comment:
Which version is it now? In the Report field you write 4.1.2, but in
the body you write 4.0.6
In the latter case, please test a newer version first (even 4.2.0rc4
from php.net/~derick if possible).
Previous Comments:
------------------------------------------------------------------------
[2002-04-19 15:10:19] thomas.hoppe@daimlerchrysler-bank.com
I would like to report a problem and ask for help with php 4.0.6 and
Oracle 8 Support.
When you try to use more than one connection, the last connection
created is the one that receives every statement.
I found a workaround but I'm not quite sure if it really works
everytime (not enough testing yet):
You could do the following for each connections and somehow they are
available
after that:
for ($i=1; $i <= 2; $i++)
{
$oci_connection_new = OCILogon ($oracle_user, $oracle_pass,
$oracle_inst);
}
I reviewed $oci_connection_new and figured out thata it changes the
recource id after the loop
Thomas
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16704&edit=1