summaryrefslogtreecommitdiff
path: root/ext/sybase_ct/php_sybase_ct.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-01-11 23:50:37 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-01-11 23:50:37 +0000
commitc4088ce25b271427f7f800412db3074636e4d772 (patch)
tree8e6afc990c8bcc4758930a86acb05644ca9f86d8 /ext/sybase_ct/php_sybase_ct.c
parent48f2ad4703b03cf8149702370485a74940f3da85 (diff)
downloadphp-git-c4088ce25b271427f7f800412db3074636e4d772.tar.gz
Do not 'convert' double columns to integers after the 1st row in the result
set.
Diffstat (limited to 'ext/sybase_ct/php_sybase_ct.c')
-rw-r--r--ext/sybase_ct/php_sybase_ct.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}