mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
TSRM fix
This commit is contained in:
@@ -1085,10 +1085,11 @@ static int php_sybase_finish_results (sybase_result *result)
|
||||
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 @@ static int php_sybase_fetch_result_row (sybase_result *result, int numrows)
|
||||
/* 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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user