1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

bug #15524 (partitioning range/list violation error message is insufficient)

This commit is contained in:
holyfoot@deer.(none)
2005-12-15 16:20:56 +04:00
parent 55e7f4503e
commit dec0720a80
5 changed files with 23 additions and 3 deletions

View File

@ -544,3 +544,8 @@ partitions 2
partition x2 values in (5));
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '4,
partition x2 values in (5))' at line 8
CREATE TABLE t1(a int)
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;