mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
bigint.test:
Updated test case for bug #28625. mysql-test/t/bigint.test: Updated test case for bug #28625.
This commit is contained in:
@ -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));
|
||||||
|
Reference in New Issue
Block a user