|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58645 No timeout when PDO_4D can't reach the 4D SQL Server
Submitted: 2009-04-23 08:38 UTC Modified: 2009-04-29 06:28 UTC
From: php at 4d dot fr Assigned: splanquart (profile)
Status: Closed Package: PDO_4D (PECL)
PHP Version: 5.2.6 OS: Mac OS X Server 10.5.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
24 - 19 = ?
Subscribe to this entry?

 [2009-04-23 08:38 UTC] php at 4d dot fr
This problem block all PHP script response if trying to connect a 4D SQL Server which is stopped or called from a wrong address, even in a try catch block.

Reproduce code:
$dbh = new PDO('4D:host=', 'test', 'test');

Expected result:
it should be stop after timedout and provide an error with an SQLSTATE like :

08S01 	Communication link failure

Actual result:
infinite wait


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-29 06:27 UTC]
Timeout support is provided since version PDO_4D-0.2.0.

Please, try this newer version.
 [2009-04-29 06:28 UTC] dams at nexen dot net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Mar 04 19:01:32 2024 UTC