Skip to content

Commit 910c319

Browse files
committed
MDEV-22503 MDB limits DECIMAL column precision to 16 doing CTAS with floor/ceil over DECIMAL(X,Y) where X > 16
The DECIMAL data type branch in Item_func_int_val::fix_length_and_dec() incorrectly used DOUBLE-style length calculation, which resulted in a smaller data type than the actual result of FLOOR()/CEIL() needs.
1 parent 23d3d18 commit 910c319

File tree

3 files changed

+768
-0
lines changed

3 files changed

+768
-0
lines changed

0 commit comments

Comments
 (0)