mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
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.
5 lines
125 B
Plaintext
5 lines
125 B
Plaintext
CREATE TABLE t (a INT, KEY(a)) ENGINE=Aria PARTITION BY KEY(a) PARTITIONS 2;
|
|
SELECT * FROM t PARTITION (p1);
|
|
a
|
|
DROP TABLE t;
|