php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #51562
Patch mssql_timeout_per_query revision 2010-04-15 13:58 UTC by ejsmont dot artur at gmail dot com

Patch mssql_timeout_per_query for MSSQL related Bug #51562

Patch version 2010-04-15 13:58 UTC

Return to Bug #51562 | Download this patch
Patch Revisions:

Developer: ejsmont.artur@gmail.com

*** php-5.2.13/ext/mssql/php_mssql.c	2010-01-03 09:23:27.000000000 +0000
--- /tmp/php_mssql_p.c	2010-04-15 14:46:18.000000000 +0100
***************
*** 1221,1226 ****
--- 1221,1228 ----
  	int id, num_fields;
  	int batchsize;
  
+ 	dbsettime(MS_SQL_G(timeout));
+ 
  	batchsize = MS_SQL_G(batchsize);
  	switch(ZEND_NUM_ARGS()) {
  		case 1:
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC