diff options
author | Monty <monty@mariadb.org> | 2019-08-19 19:49:45 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2019-08-19 19:49:45 +0300 |
commit | 938925211a6ea23b06859a875a3891810ed5e6e9 (patch) | |
tree | 64ec2d25e49d465888be78e382579b1b5f082948 /mysql-test/suite/maria/partition.result | |
parent | 6dd3f24090ce2d237037eb09cf7db083ebbc92f9 (diff) | |
download | mariadb-git-938925211a6ea23b06859a875a3891810ed5e6e9.tar.gz |
MDEV-19254 Server crashes in maria_status with partitioned table
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.
Diffstat (limited to 'mysql-test/suite/maria/partition.result')
-rw-r--r-- | mysql-test/suite/maria/partition.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/suite/maria/partition.result b/mysql-test/suite/maria/partition.result new file mode 100644 index 00000000000..929c6bab22e --- /dev/null +++ b/mysql-test/suite/maria/partition.result @@ -0,0 +1,4 @@ +CREATE TABLE t (a INT, KEY(a)) ENGINE=Aria PARTITION BY KEY(a) PARTITIONS 2; +SELECT * FROM t PARTITION (p1); +a +DROP TABLE t; |