Skip to content

Commit

Permalink
MDEV-22503 MDB limits DECIMAL column precision to 16 doing CTAS with …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
abarkov committed May 14, 2020
1 parent 23d3d18 commit 910c319
Show file tree
Hide file tree
Showing 3 changed files with 768 additions and 0 deletions.
Loading

0 comments on commit 910c319

Please sign in to comment.