Skip to content

Commit 12c8bfb

Browse files
committed
- Fixed bug #51562 (query timeout in mssql can not be changed per query)
Patch by: ejsmont dot artur at gmail dot com
1 parent 623a257 commit 12c8bfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/mssql/php_mssql.c

+1
Original file line numberDiff line numberDiff line change
@@ -1311,6 +1311,7 @@ PHP_FUNCTION(mssql_query)
13111311
mssql_result *result;
13121312
int id = -1;
13131313

1314+
dbsettime(MS_SQL_G(timeout));
13141315
batchsize = MS_SQL_G(batchsize);
13151316

13161317
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|rl", &query, &query_len, &mssql_link_index, &zbatchsize) == FAILURE) {

0 commit comments

Comments
 (0)