summaryrefslogtreecommitdiff
path: root/sql/sql_udf.cc
diff options
context:
space:
mode:
authorreggie@mdk10.(none) <>2005-05-19 15:50:44 -0500
committerreggie@mdk10.(none) <>2005-05-19 15:50:44 -0500
commit9a1daa6957b12ec9b7e9e3a7922e06dc4080f3a8 (patch)
treee56114ec7d0e8f209133396741706f6c0efa07fe /sql/sql_udf.cc
parentade7854b4aa284c8c4d2e960d8c99dd67c1ba2b8 (diff)
parentb5a60fe2a83b022a15bc7cef6bdeb4b75a79c0c5 (diff)
downloadmariadb-git-9a1daa6957b12ec9b7e9e3a7922e06dc4080f3a8.tar.gz
Merge mdk10.(none):/home/reggie/bk/mysql-4.1
into mdk10.(none):/home/reggie/bk/mysql-5.0
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 ebd753da9cf..1e1a5683d09 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);