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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Wed May 01 21:01:29 2024 UTC