Skip to content

Commit

Permalink
- Fixed bug #51562 (query timeout in mssql can not be changed per query)
Browse files Browse the repository at this point in the history
  Patch by: ejsmont dot artur at gmail dot com
  • Loading branch information
felipensp committed Apr 21, 2010
1 parent 623a257 commit 12c8bfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/mssql/php_mssql.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 12c8bfb

Please sign in to comment.