summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-06-30 17:33:23 +0200
committerunknown <lenz@mysql.com>2005-06-30 17:33:23 +0200
commit9d5a45c2f3e9f784ef94e9b3a9a5e6611043d908 (patch)
tree805043324724da8c0b3ddbd0b0429d0b8d8d7352 /sql
parent0beb0abf5a7572a461aff86eeaedbf8307bfc911 (diff)
downloadmariadb-git-9d5a45c2f3e9f784ef94e9b3a9a5e6611043d908.tar.gz
- 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"
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 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);