From 9d5a45c2f3e9f784ef94e9b3a9a5e6611043d908 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 30 Jun 2005 17:33:23 +0200 Subject: [PATCH] - backport of a compile fix from 4.1 (ChangeSet@1.2260.23.2 2005/05/19 from reggie) "changed dl_name to udf->dl in mysql_create_function" --- sql/sql_udf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc index 556e015e111..84156ff4022 100644 --- a/sql/sql_udf.cc +++ b/sql/sql_udf.cc @@ -405,7 +405,7 @@ int mysql_create_function(THD *thd,udf_func *udf) This is done to ensure that only approved dll from the system directories are used (to make this even remotely secure). */ - if (strchr(udf->dl, '/') || IF_WIN(strchr(dl_name, '\\'),0)) + if (strchr(udf->dl, '/') || IF_WIN(strchr(udf->dl, '\\'),0)) { send_error(&thd->net, ER_UDF_NO_PATHS,ER(ER_UDF_NO_PATHS)); DBUG_RETURN(1);