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:
|