From f1dbb95b1e7321d8f67a88a4a526d84f14b61c6b Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 10 May 2007 16:22:38 +0500 Subject: [PATCH] bigint.test made ps-protocol consistent mysql-test/r/bigint.result: test result fixed mysql-test/t/bigint.test: testcase made ps-protocol consistent --- mysql-test/r/bigint.result | 20 ++++++++++---------- mysql-test/t/bigint.test | 10 ++++++---- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/mysql-test/r/bigint.result b/mysql-test/r/bigint.result index 7d105cae19d..a70c6b3df7d 100644 --- a/mysql-test/r/bigint.result +++ b/mysql-test/r/bigint.result @@ -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; diff --git a/mysql-test/t/bigint.test b/mysql-test/t/bigint.test index 47e3df74a7e..c2c6f895545 100644 --- a/mysql-test/t/bigint.test +++ b/mysql-test/t/bigint.test @@ -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;