[ https://forge.continuent.org/jira/browse/CAROB-89?page=all ]
Gilles Rayrat resolved CAROB-89:
--------------------------------
Resolution: Fixed
Removed signum == 0 optimization that was leading to wrong display of 0.000 (0
with scale 3)
(forgot ref in commit)
https://forge.continuent.org/plugins/scmcvs/viewcvs.php/carob/src/BigDecimal.cpp?cvsroot=carob&rev=1.26&view=markup
https://forge.continuent.org/plugins/scmcvs/viewcvs.php/carob/src/BigDecimal.cpp?cvsroot=carob&r1=1.25&r2=1.26
> wrong formatting for 0 decimal
> ------------------------------
>
> Key: CAROB-89
> URL: https://forge.continuent.org/jira/browse/CAROB-89
> Project: Carob
> Type: Bug
> Components: C++ API
> Reporter: Zsolt Simon
> Assignee: Gilles Rayrat
> Fix For: 1.0beta
>
> Time Spent: 10 minutes
> Remaining: 0 minutes
>
> create table t1 (a decimal(7,3))
> insert into t1 values (0)
> select * from t1
> under MySQL
> 0.000
> under libMySequoia
> 0
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob