1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge mdk10.(none):/home/reggie/bk/mysql-4.1

into mdk10.(none):/home/reggie/bk/mysql-5.0
This commit is contained in:
reggie@mdk10.(none)
2005-05-19 15:50:44 -05:00
2 changed files with 23 additions and 26 deletions

View File

@ -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);