diff options
author | unknown <serg@serg.mylan> | 2003-07-20 12:26:18 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-07-20 12:26:18 +0200 |
commit | c1ed639cb654cc12f2971d840a541c0d9fa80327 (patch) | |
tree | f5346590101ec960b64abe165293a334df435f5b /mysql-test/t/bigint.test | |
parent | 56b220b11e06c5b6074c49cc114c39ee50be1cd1 (diff) | |
download | mariadb-git-c1ed639cb654cc12f2971d840a541c0d9fa80327.tar.gz |
bug #715: SELECT YEAR+0 FROM foobar is parsed as 'SELECT' 'YEAR' '+0' => syntax error
mysql-test/r/bigint.result:
test results updated
mysql-test/r/type_decimal.result:
test results updated
mysql-test/t/bigint.test:
new tests added
mysql-test/t/type_decimal.test:
error numbers updated
sql/item.h:
round(9999999999999999999) fixed
sql/sql_yacc.yy:
bug #715: SELECT YEAR+0 FROM foobar is parsed as 'SELECT' 'YEAR' '+0' => syntax error
unary '+' added
Diffstat (limited to 'mysql-test/t/bigint.test')
-rw-r--r-- | mysql-test/t/bigint.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/bigint.test b/mysql-test/t/bigint.test index 060d45c29a4..9ac44c8ba0a 100644 --- a/mysql-test/t/bigint.test +++ b/mysql-test/t/bigint.test @@ -13,6 +13,8 @@ select 9223372036854775807,-009223372036854775808; select +9999999999999999999,-9999999999999999999; select cast(9223372036854775808 as unsigned)+1; select 9223372036854775808+1; +select -(0-3),round(-(0-3)), round(9999999999999999999); + # # In 3.23 we have to disable the test of column to bigint as # this fails on AIX powerpc (the resolution for double is not good enough) |