Bug #8999 | decimal/numeric fields ignore scale and precision | ||
---|---|---|---|
Submitted: | 6 Mar 2005 17:59 | Modified: | 7 Mar 2005 6:23 |
Reporter: | David Newcomb (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.18 | OS: | |
Assigned to: | CPU Architecture: | Any |
[6 Mar 2005 17:59]
David Newcomb
[7 Mar 2005 6:23]
Aleksey Kishkin
Hi! values you inserted are out of scale and you must get warnings when you insert them. according to documentation: When a DECIMAL or NUMERIC column is assigned a value that exceeds the range implied by the specified (or default) precision and scale, MySQL stores the value representing the corresponding end point of that range.