From:             tobias dot barth at web-arts dot de
Operating system: SuSE linux 8.2
PHP version:      Irrelevant
PHP Bug Type:     *Database Functions
Bug description:  odbc_pconnect has connection problems after SAP DB is restarted

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.



-- 
Edit bug report at http://bugs.php.net/?id=26931&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26931&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26931&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26931&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26931&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26931&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26931&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26931&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26931&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26931&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26931&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26931&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26931&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26931&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26931&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26931&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26931&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26931&r=float

Reply via email to