From: Ilia Alshanetsky Date: Sat, 11 Jan 2003 23:50:37 +0000 (+0000) Subject: Do not 'convert' double columns to integers after the 1st row in the result X-Git-Tag: PHP_5_0_dev_before_13561_fix~308 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4088ce25b271427f7f800412db3074636e4d772;p=php Do not 'convert' double columns to integers after the 1st row in the result set. --- diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c index a2b91a761d..bbb6c1a313 100644 --- a/ext/sybase_ct/php_sybase_ct.c +++ b/ext/sybase_ct/php_sybase_ct.c @@ -1059,7 +1059,7 @@ static int php_sybase_fetch_result_row (sybase_result *result, int numrows) convert_to_long(&result->data[i][j]); break; case 2: - convert_to_double(&result->data[i][j]); result->numerics[j]= 1; + convert_to_double(&result->data[i][j]); break; } }