From 12c8bfb021eff4e44e5cc0194d05c18de50ffc9c Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 21 Apr 2010 14:19:27 +0000 Subject: [PATCH] - Fixed bug #51562 (query timeout in mssql can not be changed per query) Patch by: ejsmont dot artur at gmail dot com --- ext/mssql/php_mssql.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index a47d635fe58ec..aaee1d2789a93 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -1311,6 +1311,7 @@ PHP_FUNCTION(mssql_query) mssql_result *result; int id = -1; + dbsettime(MS_SQL_G(timeout)); batchsize = MS_SQL_G(batchsize); if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|rl", &query, &query_len, &mssql_link_index, &zbatchsize) == FAILURE) {