• Alexander Barkov's avatar
    MDEV-22503 MDB limits DECIMAL column precision to 16 doing CTAS with... · 910c3192
    Alexander Barkov authored
    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.
    910c3192
func_math.test 22.3 KB