#34647 [Opn->Asn]: mssql.timeout has no affect

From: Date: Mon, 26 Sep 2005 17:02:56 +0000
Subject: #34647 [Opn->Asn]: mssql.timeout has no affect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85612@lists.php.net to get a copy of this message
ID: 34647 Updated by: fmk@php.net Reported By: j dot geusebroek at intellit dot nl -Status: Open +Status: Assigned Bug Type: MSSQL related Operating System: Suse 9.3 PHP Version: 5.0.5 -Assigned To: +Assigned To: fmk 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

« previous php.bugs (#85612) next »