summaryrefslogtreecommitdiff
path: root/sql/sql_udf.cc
diff options
context:
space:
mode:
authorndbdev@dl145c.mysql.com <>2005-05-23 10:45:48 +0200
committerndbdev@dl145c.mysql.com <>2005-05-23 10:45:48 +0200
commit30def9f3f878111eb504d77b54d287deb698e452 (patch)
tree3ddbb7a46932f6419027b1a071af6b7cbcdf4c94 /sql/sql_udf.cc
parent3efa46046dedbfc5fc4dfc055dc16be68699471d (diff)
parentd68a52377ae4827a5582653da3be76d89ee8417a (diff)
downloadmariadb-git-30def9f3f878111eb504d77b54d287deb698e452.tar.gz
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.1
Diffstat (limited to 'sql/sql_udf.cc')
-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 575d75380eb..1e81a2783bb 100644
--- a/sql/sql_udf.cc
+++ b/sql/sql_udf.cc
@@ -412,7 +412,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))
{
my_message(ER_UDF_NO_PATHS, ER(ER_UDF_NO_PATHS), MYF(0));
DBUG_RETURN(1);