Skip to content

Commit 199857c

Browse files
author
holyfoot/hf@mysql.com/hfmain.(none)
committed
bug #28005 (Partitions can't use -922337...)
one more test added
1 parent 5b0c8f2 commit 199857c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

mysql-test/r/bigint.result

+10
Original file line numberDiff line numberDiff line change
@@ -352,3 +352,13 @@ select c1 mod 50 as result from t1;
352352
result
353353
6
354354
drop table t1;
355+
select -9223372036854775808 bi;
356+
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
357+
def bi 8 20 20 N 32897 0 63
358+
bi
359+
-9223372036854775808
360+
select -9223372036854775809 bi;
361+
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
362+
def bi 246 20 20 N 129 0 63
363+
bi
364+
-9223372036854775809

mysql-test/t/bigint.test

+5
Original file line numberDiff line numberDiff line change
@@ -288,3 +288,8 @@ insert into t1 values (10000002383263201056);
288288
select c1 mod 50 as result from t1;
289289
drop table t1;
290290

291+
# Bug #28005 Partitions: can't use -9223372036854775808
292+
--enable_metadata
293+
select -9223372036854775808 bi;
294+
select -9223372036854775809 bi;
295+
--disable_metadata

0 commit comments

Comments
 (0)