edink Tue May 18 06:53:54 2004 EDT Modified files: /php-src/ext/sybase_ct php_sybase_ct.c Log: TSRM fix http://cvs.php.net/diff.php/php-src/ext/sybase_ct/php_sybase_ct.c?r1=1.94&r2=1.95&ty=u Index: php-src/ext/sybase_ct/php_sybase_ct.c diff -u php-src/ext/sybase_ct/php_sybase_ct.c:1.94 php-src/ext/sybase_ct/php_sybase_ct.c:1.95 --- php-src/ext/sybase_ct/php_sybase_ct.c:1.94 Sun May 16 16:30:35 2004 +++ php-src/ext/sybase_ct/php_sybase_ct.c Tue May 18 06:53:53 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_sybase_ct.c,v 1.94 2004/05/16 20:30:35 thekid Exp $ */ +/* $Id: php_sybase_ct.c,v 1.95 2004/05/18 10:53:53 edink Exp $ */ #ifdef HAVE_CONFIG_H @@ -1085,10 +1085,11 @@ return retcode; } -static int php_sybase_fetch_result_row (sybase_result *result, int numrows) +static int php_sybase_fetch_result_row (sybase_result *result, int numrows) { int i, j; CS_INT retcode; + TSRMLS_FETCH(); /* We've already fetched everything */ if (result->last_retcode == CS_END_DATA || result->last_retcode == CS_END_RESULTS) { @@ -1133,7 +1134,7 @@ /* This signals we have an integer datatype, but we need to convert to double if we * overflow. */ - convert_scalar_to_number(&result->data[i][j]); + convert_scalar_to_number(&result->data[i][j] TSRMLS_CC); break; } }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php