#34647 [Asn->Fbk]: mssql.timeout has no affect
| From: | sniper@php.net | Date: | Sun, 06 Nov 2005 22:19:59 +0000 |
| Subject: | #34647 [Asn->Fbk]: mssql.timeout has no affect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87711@lists.php.net to get a copy of this message | ||
ID: 34647
Updated by: sniper@php.net
Reported By: j dot geusebroek at intellit dot nl
-Status: Assigned
+Status: Feedback
Bug Type: MSSQL related
Operating System: Suse 9.3
PHP Version: 5.0.5
Assigned To: fmk
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-09-26 18:51:57] j dot geusebroek at intellit dot nl
Description:
------------
mssql.timeout has no affect, a query will wait an infinite time and the
scripts hangs.
I'm using the FreeTDS library, version 6.3 but i also tried
latest FreeTDS CVS.
FreeTDS debug file shows that a timeout has occured (i also set the
timeout in the FreeTDS client) but PHP keeps running.
(dblib.c:4010:in dbsqlok()
net.c:327:exceeded query timeout: 10
net.c:327:exceeded query timeout: 10
net.c:327:exceeded query timeout: 10
net.c:327:exceeded query timeout: 10
net.c:327:exceeded query timeout: 10
net.c:327:exceeded query timeout: 10
)
Reproduce code:
---------------
Perform any query that outlasts your mssql.timeout setting.
Expected result:
----------------
PHP exiting with a fatal error.
Actual result:
--------------
Infinite wait.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34647&edit=1