From ad5eb8d133af3f5152552beb5726ad6acd00f245 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 28 Feb 2006 12:27:53 +0100 Subject: Bug #17763 mysqld cores with list partitioning if update to missing partition - error string wrongly formatted mysql-test/r/ndb_partition_error.result: Bug #17763 mysqld cores with list partitioning if update to missing partition mysql-test/t/ndb_partition_error.test: Bug #17763 mysqld cores with list partitioning if update to missing partition --- mysql-test/t/ndb_partition_error.test | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mysql-test/t/ndb_partition_error.test') diff --git a/mysql-test/t/ndb_partition_error.test b/mysql-test/t/ndb_partition_error.test index cf570cc0234..c84266b66f7 100644 --- a/mysql-test/t/ndb_partition_error.test +++ b/mysql-test/t/ndb_partition_error.test @@ -44,3 +44,15 @@ partitions 3 partition x3 values less than (20)); drop table t1; + +# +# Bug #17763 mysqld cores with list partitioning if update to missing partition +# +CREATE TABLE t1 (id INT) ENGINE=NDB + PARTITION BY LIST(id) + (PARTITION p0 VALUES IN (2, 4), + PARTITION p1 VALUES IN (42, 142)); +INSERT INTO t1 VALUES (2); +--error ER_NO_PARTITION_FOR_GIVEN_VALUE +UPDATE t1 SET id=5 WHERE id=2; +DROP TABLE t1; -- cgit v1.2.1