From:             j dot geusebroek at intellit dot nl
Operating system: Suse 9.3
PHP version:      5.0.5
PHP Bug Type:     MSSQL related
Bug description:  mssql.timeout has no affect

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 bug report at http://bugs.php.net/?id=34647&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34647&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34647&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34647&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34647&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34647&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34647&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34647&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34647&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34647&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34647&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34647&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34647&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34647&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34647&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34647&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34647&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34647&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34647&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34647&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34647&r=mysqlcfg

Reply via email to