php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #804 2 subsequent connections to same database failed
Submitted: 1998-10-01 09:31 UTC Modified: 1999-02-16 04:34 UTC
From: jbr at adviser dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 3.0.4 OS: Linux 2.0.35
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jbr at adviser dot com
New email:
PHP Version: OS:

 

 [1998-10-01 09:31 UTC] jbr at adviser dot com
If in the same document more than 1 call to odbc_connect are performed,
the second or subsequent calls fail witout an error. The returned id is empty. Connections with different user/password to the same source will succeed.
Tested with adabas d database.

Sample code:

$cid = odbc_connect($server,$user,$pass);
echo "ID1=$cid<BR>";
odbc_close($cid);
$cid = odbc_connect($server,$user,$pass);
echo "ID2=$cid<BR>";
odbc_close($cid);

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-02-16 04:34 UTC] kara
Fixed in 3.0.6
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC