Commit f1dbb95b authored by unknown's avatar unknown

bigint.test made ps-protocol consistent


mysql-test/r/bigint.result:
  test result fixed
mysql-test/t/bigint.test:
  testcase made ps-protocol consistent
parent eb5b5ad4
......@@ -352,13 +352,13 @@ select c1 mod 50 as result from t1;
result
6
drop table t1;
select -9223372036854775808 bi;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def bi 8 20 20 N 32897 0 63
bi
-9223372036854775808
select -9223372036854775809 bi;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def bi 246 20 20 N 129 0 63
bi
-9223372036854775809
create table t1 select -9223372036854775808 bi;
describe t1;
Field Type Null Key Default Extra
bi bigint(20) NO 0
drop table t1;
create table t1 select -9223372036854775809 bi;
describe t1;
Field Type Null Key Default Extra
bi decimal(19,0) NO 0
drop table t1;
......@@ -289,7 +289,9 @@ select c1 mod 50 as result from t1;
drop table t1;
# Bug #28005 Partitions: can't use -9223372036854775808
--enable_metadata
select -9223372036854775808 bi;
select -9223372036854775809 bi;
--disable_metadata
create table t1 select -9223372036854775808 bi;
describe t1;
drop table t1;
create table t1 select -9223372036854775809 bi;
describe t1;
drop table t1;
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