Commit 67988a75 authored by unknown's avatar unknown

bigint.test:

  Updated test case for bug #28625.


mysql-test/t/bigint.test:
  Updated test case for bug #28625.
parent b1dc106b
...@@ -299,11 +299,14 @@ select cast(-19999999999999999999 as signed); ...@@ -299,11 +299,14 @@ select cast(-19999999999999999999 as signed);
# Bug #28625: -9223372036854775808 doesn't fit in BIGINT. # Bug #28625: -9223372036854775808 doesn't fit in BIGINT.
# #
# PS protocol gives different metadata for `Max length' column
--disable_ps_protocol
--enable_metadata --enable_metadata
select -9223372036854775808; select -9223372036854775808;
select -(9223372036854775808); select -(9223372036854775808);
select -((9223372036854775808)); select -((9223372036854775808));
select -(-(9223372036854775808)); select -(-(9223372036854775808));
--disable_metadata --disable_metadata
--endble_ps_protocol
select --9223372036854775808, ---9223372036854775808, ----9223372036854775808; select --9223372036854775808, ---9223372036854775808, ----9223372036854775808;
select -(-9223372036854775808), -(-(-9223372036854775808)); select -(-9223372036854775808), -(-(-9223372036854775808));
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment