1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Bug#18564 Test failure due to test not checking preconditions

- Add variable "have_dynamic_loading" and use it to check if the udf test should be run.
This commit is contained in:
msvensson@neptunus.(none)
2006-04-12 15:13:16 +02:00
parent 7c70159097
commit 9cdd78078e
6 changed files with 15 additions and 13 deletions

View File

@@ -1,12 +1,8 @@
#
# To check if the udf_example.so is available,
# try to load one function from it.
#
# Check if server has support for loading udf's
# i.e it will support dlopen
#
--require r/have_udf.require
--disable_abort_on_error
CREATE FUNCTION metaphon RETURNS STRING SONAME 'udf_example.so';
--disable_query_log
DROP FUNCTION metaphon;
--enable_query_log
--enable_abort_on_error
disable_query_log;
show variables like "have_dynamic_loading";
enable_query_log;