Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 10.0.20, 10.1.8
-
Component/s: Dynamic Columns
-
Labels:
-
Environment:Used OS X 10.0.20 and Ubuntu 10.1.8
-
Sprint: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