diff options
author | unknown <reggie@linux.site> | 2006-01-30 10:07:39 -0600 |
---|---|---|
committer | unknown <reggie@linux.site> | 2006-01-30 10:07:39 -0600 |
commit | a0b5fe13e05eae5f780fa6b3c659c4170302ee03 (patch) | |
tree | 95a616632097859aeef03a82fb247d35029c6812 /mysql-test | |
parent | 2f265f0cf56f92b825ca9f589c530a454f4a0056 (diff) | |
download | mariadb-git-a0b5fe13e05eae5f780fa6b3c659c4170302ee03.tar.gz |
BUG# 14524 - Partitions: crash if blackhole
This bug was fixed through other patches. This test case just shows
that it is fixed.
mysql-test/r/partition_hash.result:
result block for bug #14524
mysql-test/t/partition_hash.test:
test block for bug# 14524
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/partition_hash.result | 3 | ||||
-rw-r--r-- | mysql-test/t/partition_hash.test | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/partition_hash.result b/mysql-test/r/partition_hash.result index b72d47d3748..64dcf8c5837 100644 --- a/mysql-test/r/partition_hash.result +++ b/mysql-test/r/partition_hash.result @@ -70,3 +70,6 @@ select * from t1; f1 f2 -1 ####### drop table t1; +CREATE TABLE t1 (s1 int) ENGINE=BLACKHOLE PARTITION BY HASH (s1); +INSERT INTO t1 VALUES (0); +DROP TABLE t1; diff --git a/mysql-test/t/partition_hash.test b/mysql-test/t/partition_hash.test index 6e3f0f67d47..75a36713694 100644 --- a/mysql-test/t/partition_hash.test +++ b/mysql-test/t/partition_hash.test @@ -84,3 +84,9 @@ INSERT INTO t1 SET f1 = 0 - 1, f2 = '#######'; select * from t1; drop table t1; +# +# BUG# 14524 Partitions: crash if blackhole +# +CREATE TABLE t1 (s1 int) ENGINE=BLACKHOLE PARTITION BY HASH (s1); +INSERT INTO t1 VALUES (0); +DROP TABLE t1; |