diff options
author | unknown <jimw@mysql.com> | 2005-09-22 15:59:13 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-09-22 15:59:13 -0700 |
commit | 13fa84a7e2f25f69fcaf8ad5893ac6fe152d6ff8 (patch) | |
tree | d7153c4337a3eb84f2a213da38023db6748d08ec /mysql-test/r/cast.result | |
parent | 443b394fc31898b2903ab48b43dd20dc7826733e (diff) | |
download | mariadb-git-13fa84a7e2f25f69fcaf8ad5893ac6fe152d6ff8.tar.gz |
Fix CAST(1.0e+300 TO SIGNED). (Bug #13344)
mysql-test/r/cast.result:
Update results
mysql-test/t/cast.test:
Add regression test
sql/item.h:
Cap Item_real::val_int() to LONGLONG_MIN and LONGLONG_MAX.
Diffstat (limited to 'mysql-test/r/cast.result')
-rw-r--r-- | mysql-test/r/cast.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/cast.result b/mysql-test/r/cast.result index 7cd0934f7a3..d5d679a0ae8 100644 --- a/mysql-test/r/cast.result +++ b/mysql-test/r/cast.result @@ -252,3 +252,6 @@ cast(repeat('1',20) as signed) -7335632962598440505 Warnings: Warning 1105 Cast to signed converted positive out-of-range integer to it's negative complement +select cast(1.0e+300 as signed int); +cast(1.0e+300 as signed int) +9223372036854775807 |