diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-06-15 10:11:51 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-06-15 10:11:51 +0400 |
commit | c55de8d40bba29503773a6a56d6f13f19ca7e339 (patch) | |
tree | 46bd1a7c74a16fa8b268df8bfe28a994ea752973 /sql/item_timefunc.cc | |
parent | ec4fdd574964d3611e904fa5f1751d88d8e8286f (diff) | |
download | mariadb-git-c55de8d40bba29503773a6a56d6f13f19ca7e339.tar.gz |
MDEV-9334 ALTER from DECIMAL to BIGINT UNSIGNED returns a wrong result
When altering from DECIMAL to *INT UNIGNED or to BIT, go through val_decimal(),
to avoid truncation to the biggest possible signed integer
(0x7FFFFFFFFFFFFFFF / 9223372036854775807).
Diffstat (limited to 'sql/item_timefunc.cc')
0 files changed, 0 insertions, 0 deletions