mariadb/mysql-test/suite/plugins/r/cassandra_reinstall.result
Sergei Golubchik 47ee721923 MDEV-4403 Attempting to use cassandra storage engine causes "service 'my_snprintf_service' interface version mismatch"
When a DSO is loaded we rewrite service pointers to point to the actual service structures.
But when a DSO is unloaded, we have to restore their original values, in case this DSO
wasn't removed from memory on dlclose() and is later loaded again.
2013-12-09 12:39:13 +01:00

14 lines
800 B
Text

install soname 'ha_cassandra';
select plugin_name,plugin_status,plugin_library from information_schema.plugins where plugin_name = 'cassandra';
plugin_name plugin_status plugin_library
CASSANDRA ACTIVE ha_cassandra.so
uninstall plugin cassandra;
select plugin_name,plugin_status,plugin_library from information_schema.plugins where plugin_name = 'cassandra';
plugin_name plugin_status plugin_library
install soname 'ha_cassandra';
select plugin_name,plugin_status,plugin_library from information_schema.plugins where plugin_name = 'cassandra';
plugin_name plugin_status plugin_library
CASSANDRA ACTIVE ha_cassandra.so
uninstall plugin cassandra;
select plugin_name,plugin_status,plugin_library from information_schema.plugins where plugin_name = 'cassandra';
plugin_name plugin_status plugin_library