summaryrefslogtreecommitdiff
path: root/mysql-test/suite/maria/partition.test
blob: 86f976a05e7d03d19f4f03d19285a173ac68393e (plain)
1
2
3
4
5
6
7
8
9
10
11
--source include/have_partition.inc

#
# MDEV-19254
# Server crashes in maria_status / ha_maria::info upon SELECT with partition
# pruning
#

CREATE TABLE t (a INT, KEY(a)) ENGINE=Aria PARTITION BY KEY(a) PARTITIONS 2;
SELECT * FROM t PARTITION (p1);
DROP TABLE t;