summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_list.test
diff options
context:
space:
mode:
authorunknown <holyfoot@deer.(none)>2005-12-15 20:56:14 +0400
committerunknown <holyfoot@deer.(none)>2005-12-15 20:56:14 +0400
commit9008814ef74336f033b3e3542d0ef4be2c3a49cb (patch)
tree8c774cc26116d718bb67ee484e9c4ba24f4af1d2 /mysql-test/t/partition_list.test
parent36736898f3ae9dca5853662b5380a81c501a4865 (diff)
downloadmariadb-git-9008814ef74336f033b3e3542d0ef4be2c3a49cb.tar.gz
tests fixed as we implement informative error message
mysql-test/r/partition_list.result: test result fixed mysql-test/r/partition_range.result: test result fixed mysql-test/t/partition_list.test: test fixed mysql-test/t/partition_range.test: test fixed
Diffstat (limited to 'mysql-test/t/partition_list.test')
-rw-r--r--mysql-test/t/partition_list.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/mysql-test/t/partition_list.test b/mysql-test/t/partition_list.test
index cb8d06a11ed..af99321dcb2 100644
--- a/mysql-test/t/partition_list.test
+++ b/mysql-test/t/partition_list.test
@@ -22,16 +22,16 @@ partitions 2
partition x234 values in (4,7,8));
INSERT into t1 VALUES (1,1,1);
---error 1030
+--error ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT into t1 VALUES (2,1,1);
---error 1030
+--error ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT into t1 VALUES (3,1,1);
INSERT into t1 VALUES (4,1,1);
INSERT into t1 VALUES (5,1,1);
INSERT into t1 VALUES (6,1,1);
INSERT into t1 VALUES (7,1,1);
INSERT into t1 VALUES (8,1,1);
---error 1030
+--error ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT into t1 VALUES (9,1,1);
INSERT into t1 VALUES (1,2,1);
INSERT into t1 VALUES (1,3,1);
@@ -64,7 +64,7 @@ partitions 2
partition x234 values in (4,7,8));
SELECT * from t1;
INSERT into t1 VALUES (6,2,1);
---error 1030
+--error ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT into t1 VALUES (2,2,1);
drop table t1;
@@ -89,7 +89,7 @@ subpartition by hash (a+b)
INSERT into t1 VALUES (1,1,1);
INSERT into t1 VALUES (4,1,1);
---error 1030
+--error ER_NO_PARTITION_FOR_GIVEN_VALUE
INSERT into t1 VALUES (7,1,1);
UPDATE t1 SET a=5 WHERE a=1;
SELECT * from t1;