php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26931 odbc_pconnect has connection problems after SAP DB is restarted
Submitted: 2004-01-16 05:18 UTC Modified: 2004-12-12 02:00 UTC
From: tobias dot barth at web-arts dot de Assigned:
Status: Not a bug Package: ODBC related
PHP Version: Irrelevant OS: SuSE linux 8.2
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: tobias dot barth at web-arts dot de
New email:
PHP Version: OS:

 

 [2004-01-16 05:18 UTC] tobias dot barth at web-arts dot de
Description:
------------
A project that uses odbc_pconnect to connect to an Sap DB 7.4 database, gets connection errors after the database was shut down and restarted, but the web server (with php module) is not restarted. The problem does not occur with odbc_connect (without p).
I think the problem could be that php thinks the connections that were opened before the database was shut down are still open, and it does not try to open a new connection if the old one fails.
It should recognize the old connection as closed and open a new one, and only if this attempt fails, report the error to the application and/or the user.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-16 09:13 UTC] kalowsky@php.net
duplicate of 20298
 [2004-02-16 23:48 UTC] sniper@php.net
duplicate status is deprecated.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 15:01:27 2024 UTC