mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Add test to mysql-test-run.pl to see if the udf_example.so is availble. Set envioronment variable UDF_EXAMPLE_LIB if it is.
Then check in have_udf if that variable is set. Finally use tahe variable when loading the shared library. mysql-test/include/have_udf.inc: Add check if udf_example.so(or similar) is available mysql-test/lib/mtr_misc.pl: Add funcion "mtr_file_exist" to search for files mysql-test/mysql-test-run.pl: Add checks to find the udf_example.so library mysql-test/r/udf.result: Update result mysql-test/t/disabled.def: Remove udf.test from disabled tests mysql-test/t/udf.test: Use variable UDF_EXAMPLE_LIB when looking for shared library to load mysql-test/r/have_udf_example.require: New BitKeeper file ``mysql-test/r/have_udf_example.require''
This commit is contained in:
parent
2f4f68be53
commit
1bdc15e100
7 changed files with 56 additions and 19 deletions
2
mysql-test/r/have_udf_example.require
Normal file
2
mysql-test/r/have_udf_example.require
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
have_udf_example_lib
|
||||
1
|
||||
Loading…
Add table
Add a link
Reference in a new issue