mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
- 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"
This commit is contained in:
parent
0beb0abf5a
commit
9d5a45c2f3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue