|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-02-18 18:05 UTC] iliaa@php.net
[2003-02-19 03:40 UTC] aheckmann at m-s dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 18:00:01 2025 UTC |
if you have in your database in field double 1.1, 2.2, 3.3, 4.4 while($robj=sybase_fetch_object($rs)) { echo $robj->double ."\n"; } output is: 1.1 2 3 4 Only the first value is correct ... The error seems to be in ext/sybase_ct/php_sybase_ct.c in line 1062: switch (result->numerics[j]) { case 1: convert_to_long(&result->data[i][j]); break; case 2: convert_to_double(&result->data[i][j]); result->numerics[j]= 1; break; } why "result->numerics[j]= 1"; //Debugging stuff?