bug #28005 (Partitions can't use -922337...)

one more test added
parent 5b0c8f25
...@@ -352,3 +352,13 @@ select c1 mod 50 as result from t1; ...@@ -352,3 +352,13 @@ select c1 mod 50 as result from t1;
result result
6 6
drop table t1; 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
...@@ -288,3 +288,8 @@ insert into t1 values (10000002383263201056); ...@@ -288,3 +288,8 @@ insert into t1 values (10000002383263201056);
select c1 mod 50 as result from t1; select c1 mod 50 as result from t1;
drop table t1; drop table t1;
# Bug #28005 Partitions: can't use -9223372036854775808
--enable_metadata
select -9223372036854775808 bi;
select -9223372036854775809 bi;
--disable_metadata
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