1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00
This commit is contained in:
Edin Kadribasic
2004-05-18 10:53:53 +00:00
parent 3b64493a3d
commit e489d93abc
+3 -2
View File
@@ -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;
}
}