diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2006-02-28 12:27:53 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2006-02-28 12:27:53 +0100 |
commit | ad5eb8d133af3f5152552beb5726ad6acd00f245 (patch) | |
tree | 94be8c86142ad7264220bfd884108cf9581de930 /mysql-test/t/ndb_partition_error.test | |
parent | b697993af79eb20a30767d5819fd28a1c6460c48 (diff) | |
download | mariadb-git-ad5eb8d133af3f5152552beb5726ad6acd00f245.tar.gz |
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
Diffstat (limited to 'mysql-test/t/ndb_partition_error.test')
-rw-r--r-- | mysql-test/t/ndb_partition_error.test | 12 |
1 files changed, 12 insertions, 0 deletions
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; |