summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <reggie@mdk10.(none)>2005-05-19 15:18:49 -0500
committerunknown <reggie@mdk10.(none)>2005-05-19 15:18:49 -0500
commitf4a584f5013373f3c939df7cd7ef7ab444b18168 (patch)
tree72c492f90461a4139895055a050a639fb9b2d161 /sql
parentfea271c3b5e71e6136693dd73e369486e4691c79 (diff)
downloadmariadb-git-f4a584f5013373f3c939df7cd7ef7ab444b18168.tar.gz
This fixed a compile problem on Windows
sql_udf.cc: changed dl_name to udf->dl in mysql_create_function sql/sql_udf.cc: changed dl_name to udf->dl in mysql_create_function
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_udf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc
index 31205c0a614..126d2e5d894 100644
--- a/sql/sql_udf.cc
+++ b/sql/sql_udf.cc
@@ -411,7 +411,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, ER_UDF_NO_PATHS,ER(ER_UDF_NO_PATHS));
DBUG_RETURN(1);