Commit d190fcfd authored by reggie@linux.site's avatar reggie@linux.site

BUG# 14524 - Partitions: crash if blackhole

This bug was fixed through other patches.  This test case just shows 
that it is fixed.
parent 94e65a83
...@@ -70,3 +70,6 @@ select * from t1; ...@@ -70,3 +70,6 @@ select * from t1;
f1 f2 f1 f2
-1 ####### -1 #######
drop table t1; drop table t1;
CREATE TABLE t1 (s1 int) ENGINE=BLACKHOLE PARTITION BY HASH (s1);
INSERT INTO t1 VALUES (0);
DROP TABLE t1;
...@@ -84,3 +84,9 @@ INSERT INTO t1 SET f1 = 0 - 1, f2 = '#######'; ...@@ -84,3 +84,9 @@ INSERT INTO t1 SET f1 = 0 - 1, f2 = '#######';
select * from t1; select * from t1;
drop table 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;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment