mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
fa1f8a9c80
- Pass "buffers[i]" to val_str() in udf_handler::fix_fields insteead of NULL. - Add testcase for UDF that will load and run the udf_example functions if available
12 lines
295 B
PHP
12 lines
295 B
PHP
#
|
|
# To check if the udf_example.so is available,
|
|
# try to load one function from it.
|
|
#
|
|
#
|
|
--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
|