Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.0.20, 10.1.8
-
Used OS X 10.0.20 and Ubuntu 10.1.8
-
10.1.10
Description
Similar to MDEV-8565 , COLUMN_CHECK can fail with valid Decimal values:
select column_check(column_create('0', '0' as decimal, '1', '0' as decimal)); |
Result: 0 (failed)
|
I think the patch for MDEV-8565 simply missed that decimal 0 is also stored in 0 bytes, as in:
/* Store decimal zero as empty string */
|
if (precision == 0)
|
return ER_DYNCOL_OK;
|
Attachments
Issue Links
- relates to
-
MDEV-8565 [PATCH] COLUMN_CHECK fails on valid data
- Closed
- links to