1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

BUG#16002: Make partition functions that are unsigned work properly

This commit is contained in:
mikael@c-4909e253.1238-1-64736c10.cust.bredbandsbolaget.se
2006-04-17 22:51:34 -04:00
parent ba5d08f340
commit cef06fdb61
17 changed files with 563 additions and 207 deletions

View File

@@ -554,3 +554,7 @@ PARTITION BY RANGE (a) (PARTITION p1 VALUES LESS THAN(5));
insert into t1 values (10);
ERROR HY000: Table has no partition for value 10
drop table t1;
create table t1 (a bigint unsigned)
partition by range (a)
(partition p0 values less than (-1));
ERROR HY000: Partition function is unsigned, cannot have negative constants