summaryrefslogtreecommitdiff
path: root/cmake/versioninfo.rc.in
diff options
context:
space:
mode:
authorRucha Deodhar <rucha.deodhar@mariadb.com>2021-01-12 13:31:57 +0530
committerRucha Deodhar <rucha.deodhar@mariadb.com>2021-01-13 19:24:05 +0530
commitfb9a9599bc9faed7b2f4860cb5e2bc8c597aacef (patch)
tree3758fb941e482bc048af7405568860bb47365c75 /cmake/versioninfo.rc.in
parent59998d3480f2a472cfc79208be4ee32ff5eff1ed (diff)
downloadmariadb-git-fb9a9599bc9faed7b2f4860cb5e2bc8c597aacef.tar.gz
MDEV-24387: Wrong number of decimal digits in certain UNION/Subqery
constellation Analysis: The decimals is set to NOT_FIXED_DEC for Field_str even if it is NULL. Unsigned has decimals=0. So Type_std_attributes::decimals is set to 39 (maximum between 0 and 39). This results in incorrect number of decimals when we have union of unsigned and NULL type. Fix: Check if the field is created from NULL value. If yes, set decimals to 0 otherwise set it to NOT_FIXED_DEC.
Diffstat (limited to 'cmake/versioninfo.rc.in')
0 files changed, 0 insertions, 0 deletions