mirror of
https://github.com/MariaDB/server.git
synced 2025-11-06 13:10:12 +03:00
ASSERT happens due to improper calculation of the max_length in Item_func_div object, if dividend has max_length == 0 then Item_func_div::max_length is set to 0 under some circumstances. The fix: If decimals == NOT_FIXED_DEC then set Item_func_div::max_length to max possible DOUBLE length value.
10 KiB
10 KiB