diff options
author | unknown <msvensson@neptunus.(none)> | 2006-12-15 00:09:56 +0100 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-12-15 00:09:56 +0100 |
commit | eb3b8c3cb7857cf174cf2983997fa59034223d42 (patch) | |
tree | eb310a335ba4e5864ffcf22060826e245a5c293e /mysql-test/include | |
parent | 32e6771601a94f6bd9870ef9114030a7ee13da2f (diff) | |
download | mariadb-git-eb3b8c3cb7857cf174cf2983997fa59034223d42.tar.gz |
Add support for loading example plugin and add plugin.test
mysql-test/r/have_dynamic_loading.require:
Rename: mysql-test/r/have_udf.require -> mysql-test/r/have_dynamic_loading.require
mysql-test/include/have_udf.inc:
Rename have_udf.require to hqave_dynamic_loading.require
mysql-test/mysql-test-run.pl:
Add support for ha_example plugin
mysql-test/include/have_example_plugin.inc:
New BitKeeper file ``mysql-test/include/have_example_plugin.inc''
mysql-test/r/have_example_plugin.require:
New BitKeeper file ``mysql-test/r/have_example_plugin.require''
mysql-test/r/plugin.result:
New BitKeeper file ``mysql-test/r/plugin.result''
mysql-test/t/plugin.test:
New BitKeeper file ``mysql-test/t/plugin.test''
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/have_example_plugin.inc | 16 | ||||
-rw-r--r-- | mysql-test/include/have_udf.inc | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/mysql-test/include/have_example_plugin.inc b/mysql-test/include/have_example_plugin.inc new file mode 100644 index 00000000000..b84f6d2f161 --- /dev/null +++ b/mysql-test/include/have_example_plugin.inc @@ -0,0 +1,16 @@ +# +# Check if server has support for loading udf's +# i.e it will support dlopen +# +--require r/have_dynamic_loading.require +disable_query_log; +show variables like "have_dynamic_loading"; +enable_query_log; + +# +# Check if the variable EXAMPLE_PLUGIN is set +# +--require r/have_example_plugin.require +disable_query_log; +eval select LENGTH("$EXAMPLE_PLUGIN") > 0 as "have_example_plugin"; +enable_query_log; diff --git a/mysql-test/include/have_udf.inc b/mysql-test/include/have_udf.inc index 42b9942f74d..068ce9026e0 100644 --- a/mysql-test/include/have_udf.inc +++ b/mysql-test/include/have_udf.inc @@ -2,7 +2,7 @@ # Check if server has support for loading udf's # i.e it will support dlopen # ---require r/have_udf.require +--require r/have_dynamic_loading.require disable_query_log; show variables like "have_dynamic_loading"; enable_query_log; |