mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
938925211a
Bug was that storage_engine::info() was called with not opened table in ha_partition::info(). Fixed by ensuring that we are using an opened table.
11 lines
265 B
Text
11 lines
265 B
Text
--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;
|