Commit a0b5fe13 authored by unknown's avatar unknown
Browse files

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
parent 2f265f0c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
+6 −0
Original line number Diff line number Diff line
@@ -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;