From c4088ce25b271427f7f800412db3074636e4d772 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sat, 11 Jan 2003 23:50:37 +0000 Subject: Do not 'convert' double columns to integers after the 1st row in the result set. --- ext/sybase_ct/php_sybase_ct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/sybase_ct/php_sybase_ct.c') 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; } } -- cgit v1.2.1