Commit 3fefe780 authored by unknown's avatar unknown

Made UDFs work again.

parent 95a34bd8
......@@ -3089,7 +3089,7 @@ mysql_execute_command(THD *thd)
if (check_access(thd,INSERT_ACL,"mysql",0,1,0))
break;
#ifdef HAVE_DLOPEN
if (!(sph= sp_find_function(thd, &lex->udf.name)))
if ((sph= sp_find_function(thd, &lex->udf.name)))
{
net_printf(thd, ER_UDF_EXISTS, lex->udf.name.str);
goto error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment