mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
bug #15524 (partitioning range/list violation error message is insufficient)
include/my_base.h: HA_ERR_NO_PARTITION_FOUND added mysql-test/r/partition_error.result: test result fixed mysql-test/t/partition_error.test: test case added sql/ha_partition.cc: now we launch the informative error message here sql/share/errmsg.txt: Error message added
This commit is contained in:
parent
1b74cbd9d6
commit
a3cc718cc4
5 changed files with 23 additions and 3 deletions
|
|
@ -727,3 +727,11 @@ partitions 2
|
|||
(partition x1 values in 4,
|
||||
partition x2 values in (5));
|
||||
|
||||
#
|
||||
# No partition for the given value
|
||||
#
|
||||
CREATE TABLE t1(a int)
|
||||
PARTITION BY RANGE (a) (PARTITION p1 VALUES LESS THAN(5));
|
||||
--error ER_NO_PARTITION_FOR_GIVEN_VALUE
|
||||
insert into t1 values (10);
|
||||
drop table t1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue