summaryrefslogtreecommitdiff
path: root/sql/sql_udf.cc
diff options
context:
space:
mode:
authormsvensson@devsrv-b.mysql.com <>2006-03-10 10:41:04 +0100
committermsvensson@devsrv-b.mysql.com <>2006-03-10 10:41:04 +0100
commit1ab7d910033864c4e78f02e9fc98c7fbf7d67bdb (patch)
treebbed8496316f7d96b19be754fe3d12b8acde0584 /sql/sql_udf.cc
parentfa1f8a9c80be4599c4bf6e45145cf72f7d139b6a (diff)
downloadmariadb-git-1ab7d910033864c4e78f02e9fc98c7fbf7d67bdb.tar.gz
Bug#17261 Passing a variable from a stored procedure to UDF crashes mysqld
- Update of test toolsand Makefiles to make it possible to test always test udf's as part of the mysql test suite
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r--sql/sql_udf.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc
index 40e5a9a00cf..c5badd85a6a 100644
--- a/sql/sql_udf.cc
+++ b/sql/sql_udf.cc
@@ -432,6 +432,7 @@ int mysql_create_function(THD *thd,udf_func *udf)
}
if (!(dl = find_udf_dl(udf->dl)))
{
+ DBUG_PRINT("info", ("Calling dlopen, udf->dl: %s", udf->dl));
if (!(dl = dlopen(udf->dl, RTLD_NOW)))
{
DBUG_PRINT("error",("dlopen of %s failed, error: %d (%s)",