Bug #8426 | Precision math: Unable to SELECT a DEC(38,38) value correctly | ||
---|---|---|---|
Submitted: | 10 Feb 2005 23:14 | Modified: | 29 Sep 2008 21:24 |
Reporter: | Trudy Pelzer | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.15-rc-debug | OS: | Linux (SuSE 9.1) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[10 Feb 2005 23:14]
Trudy Pelzer
[10 Feb 2005 23:39]
MySQL Verification Team
Thank you for the bug report.
[2 Apr 2005 11:33]
Alexey Botchkov
Unfortunately this only can be fixed in 5.1 Now 30 digits after decimal point is the limit.
[29 Sep 2005 22:30]
Brian Aker
reverify
[30 Sep 2005 0:27]
MySQL Verification Team
The current behavior is how was already reported by Alexey: mysql> create table t1 (col1 decimal(38,38)); ERROR 1425 (42000): Too big scale 38 specified for column 'col1'. Maximum is 30. mysql> select version(); +-----------------+ | version() | +-----------------+ | 5.0.14-rc-debug | +-----------------+ 1 row in set (0.00 sec)
[30 Sep 2005 0:39]
MySQL Verification Team
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/
[29 Sep 2008 21:24]
Konstantin Osipov
This has been fixed at some point by yielding an error message at create: mysql> create table t1 (col1 decimal(38,38)); ERROR 1425 (42000): Too big scale 38 specified for column 'col1'. Maximum is 30