diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2018-03-27 17:21:22 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2018-03-28 14:30:37 +0300 |
commit | 011586c04d8fa0df8d7cc98db2d6f080e8058cee (patch) | |
tree | a39e41dd73372872974fe738bf629ced4012929d /storage/rocksdb/mysql-test/rocksdb/r/mariadb_plugin.result | |
parent | 907aae2502ba1ac5ad5206251658c450e558d66e (diff) | |
download | mariadb-git-011586c04d8fa0df8d7cc98db2d6f080e8058cee.tar.gz |
MDEV-15686: Loading MyRocks plugin back after it has been unloaded causes a crash
- Disallow loading of MyRocks (or any auxilary) plugins after it has been
unloaded.
- Do it carefully - Plugin's system variables may be accesssed (e.g. default
value is set) after the first rocksdb_done_func() call but before
the secon rocksdb_init_func() call.
Diffstat (limited to 'storage/rocksdb/mysql-test/rocksdb/r/mariadb_plugin.result')
-rw-r--r-- | storage/rocksdb/mysql-test/rocksdb/r/mariadb_plugin.result | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/rocksdb/mysql-test/rocksdb/r/mariadb_plugin.result b/storage/rocksdb/mysql-test/rocksdb/r/mariadb_plugin.result index bb06c4be2e5..3197b163132 100644 --- a/storage/rocksdb/mysql-test/rocksdb/r/mariadb_plugin.result +++ b/storage/rocksdb/mysql-test/rocksdb/r/mariadb_plugin.result @@ -10,3 +10,11 @@ insert into test.t1 values (1); connection default; DROP TABLE t1; UNINSTALL SONAME 'ha_rocksdb'; +# +# MDEV-15686: Loading MyRocks plugin back after it has been unloaded causes a crash +# +call mtr.add_suppression("Plugin 'ROCKSDB.*' init function returned error."); +call mtr.add_suppression("Plugin 'ROCKSDB.*' registration as a INFORMATION SCHEMA failed."); +call mtr.add_suppression("Plugin 'ROCKSDB' registration as a STORAGE ENGINE failed"); +INSTALL SONAME 'ha_rocksdb'; +ERROR HY000: Internal error: Loading MyRocks plugin after it has been unloaded is not supported. Please restart mysqld |