diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-05-17 08:08:11 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-05-17 08:08:11 +0400 |
commit | d682dc2e709c22bdd6012295b55d3908fe6c546d (patch) | |
tree | af4e4d4a9c1764a8e0afffcbd34bfea54b08b1f0 /sql/item.h | |
parent | cacdcfd0e4c1c53439dc012141940028d7a0e1f8 (diff) | |
download | mariadb-git-d682dc2e709c22bdd6012295b55d3908fe6c546d.tar.gz |
MDEV-8919 Wrong result for CAST(9999999999999999999.0)
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index ec474b81a08..0c6465f98f6 100644 --- a/sql/item.h +++ b/sql/item.h @@ -1247,12 +1247,14 @@ public: } longlong val_int_unsigned_typecast_from_int(); longlong val_int_unsigned_typecast_from_str(); + longlong val_int_unsigned_typecast_from_real(); /** Get a value for CAST(x AS UNSIGNED). Huge positive unsigned values are converted to negative complements. */ longlong val_int_signed_typecast_from_int(); + longlong val_int_signed_typecast_from_real(); /* This is just a shortcut to avoid the cast. You should still use |