summaryrefslogtreecommitdiff
path: root/mysql-test/main/range_debug.result
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2020-08-02 18:58:01 +0400
committerAlexander Barkov <bar@mariadb.com>2020-08-02 18:58:01 +0400
commit863d5b4f75b488412c237af8bed9632aabce690b (patch)
tree9660a6ffab193834d99599261e0fd44c22cbcd0c /mysql-test/main/range_debug.result
parentda78e952fb327161311a590eb902c5c55da0f2fc (diff)
downloadmariadb-git-863d5b4f75b488412c237af8bed9632aabce690b.tar.gz
MDEV-23350 ROUND(bigint_22_or_longer) returns a wrong data type
The condition in Item_func_round::fix_arg_int() to decide whether: - we can preserve the data type of args[0] versus - the result can go outside of the args[0] data type was wrong. The data type of the first argument can be preserved in these cases: - TRUNCATE(x, n) - ROUND(x, n>=0) Fixing the condition accordingly.
Diffstat (limited to 'mysql-test/main/range_debug.result')
0 files changed, 0 insertions, 0 deletions