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