summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-09-24 10:46:18 +0400
committerAlexander Barkov <bar@mariadb.com>2019-09-24 10:46:18 +0400
commit67b0faa29e59387b74ae8547c96cf0f31fc3d9d1 (patch)
treec5ba41a19cf75f79b452a5d0bfa3ff60a6964f6f /storage
parentfd3ad41eed70e201dc6fef4d302d9e748e478358 (diff)
downloadmariadb-git-67b0faa29e59387b74ae8547c96cf0f31fc3d9d1.tar.gz
MDEV-20495 Assertion `precision > 0' failed in decimal_bin_size upon CREATE .. SELECT with zerofilled decimal
Also fixes: MDEV-20560 Assertion `precision > 0' failed in decimal_bin_size upon SELECT with MOD short unsigned decimal Changing the way how Item_func_mod calculates its max_length. It now uses decimal_precision(), decimal_scale() and unsigned_flag of its arguments, like all other Item_num_op descendants do.
Diffstat (limited to 'storage')
0 files changed, 0 insertions, 0 deletions