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.

16 lines
399 B

  1. #
  2. # Check if server has support for loading udf's
  3. # i.e it will support dlopen
  4. #
  5. --require r/have_dynamic_loading.require
  6. disable_query_log;
  7. show variables like "have_dynamic_loading";
  8. enable_query_log;
  9. #
  10. # Check if the variable UDF_EXAMPLE_LIB is set
  11. #
  12. --require r/have_udf_example.require
  13. disable_query_log;
  14. eval select LENGTH("$UDF_EXAMPLE_LIB") > 0 as "have_udf_example_lib";
  15. enable_query_log;