You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
731 B
24 lines
731 B
|
|
--echo #
|
|
--echo # Bug #20085672: CRYPTIC ERROR WHEN FAILING TO UNLOAD A DYNAMIC LIBRARY
|
|
--echo #
|
|
|
|
--echo # Install the plugin
|
|
--replace_result $TESTUDFSERVICES TESTUDFSERVICES
|
|
eval INSTALL PLUGIN test_udf_services SONAME '$TESTUDFSERVICES';
|
|
|
|
--echo # Define the function
|
|
--replace_result $TESTUDFSERVICES TESTUDFSERVICES
|
|
eval CREATE FUNCTION test_udf_services_udf RETURNS INT
|
|
SONAME "$TESTUDFSERVICES";
|
|
|
|
--echo # Uninstall the plugin
|
|
UNINSTALL PLUGIN test_udf_services;
|
|
|
|
--echo # Install the plugin again. Should not fail
|
|
--replace_result $TESTUDFSERVICES TESTUDFSERVICES
|
|
eval INSTALL PLUGIN test_udf_services SONAME '$TESTUDFSERVICES';
|
|
|
|
--echo # Cleanup
|
|
DROP FUNCTION test_udf_services_udf;
|
|
UNINSTALL PLUGIN test_udf_services;
|
|
|