1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

This fixed a compile problem on Windows

sql_udf.cc:
  changed dl_name to udf->dl in mysql_create_function
This commit is contained in:
reggie@mdk10.(none)
2005-05-19 15:18:49 -05:00
parent b9fba04f68
commit b5a60fe2a8

View File

@ -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 This is done to ensure that only approved dll from the system
directories are used (to make this even remotely secure). 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)); send_error(thd, ER_UDF_NO_PATHS,ER(ER_UDF_NO_PATHS));
DBUG_RETURN(1); DBUG_RETURN(1);