diff options
author | unknown <gshchepa/uchum@gleb.loc> | 2007-06-16 22:40:25 +0500 |
---|---|---|
committer | unknown <gshchepa/uchum@gleb.loc> | 2007-06-16 22:40:25 +0500 |
commit | 200c69e3e6dd7a59796f1fd1ac78f90ec402a6c3 (patch) | |
tree | 210b1122be877ed2b2834f7ee6aeb6fd33668092 /mysql-test/t/bigint.test | |
parent | f6a7490c387c5752df6b10007efe19f993f64e43 (diff) | |
parent | 67988a75fc3030462d43c9625caa924bfc8c443d (diff) | |
download | mariadb-git-200c69e3e6dd7a59796f1fd1ac78f90ec402a6c3.tar.gz |
Merge gleb.loc:/home/uchum/work/bk/5.0-opt
into gleb.loc:/home/uchum/work/bk/5.1-opt
mysql-test/r/func_str.result:
Auto merged
mysql-test/t/func_str.test:
Auto merged
mysql-test/r/bigint.result:
Merge with 5.0-opt.
mysql-test/t/bigint.test:
Merge with 5.0-opt.
sql/item_func.cc:
Merge with 5.0-opt.
Diffstat (limited to 'mysql-test/t/bigint.test')
-rw-r--r-- | mysql-test/t/bigint.test | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/t/bigint.test b/mysql-test/t/bigint.test index 52f34e58e97..9b4fc3f39b0 100644 --- a/mysql-test/t/bigint.test +++ b/mysql-test/t/bigint.test @@ -295,6 +295,22 @@ drop table t1; select cast(19999999999999999999 as signed); select cast(-19999999999999999999 as signed); +# +# Bug #28625: -9223372036854775808 doesn't fit in BIGINT. +# + +# PS protocol gives different metadata for `Max length' column +--disable_ps_protocol +--enable_metadata +select -9223372036854775808; +select -(9223372036854775808); +select -((9223372036854775808)); +select -(-(9223372036854775808)); +--disable_metadata +--endble_ps_protocol +select --9223372036854775808, ---9223372036854775808, ----9223372036854775808; +select -(-9223372036854775808), -(-(-9223372036854775808)); + # Bug #28005 Partitions: can't use -9223372036854775808 create table t1 select -9223372036854775808 bi; describe t1; |