Commit ee411648 authored by pem@mysql.comhem.se's avatar pem@mysql.comhem.se

Made UDFs work again.

parent 40f21c8a
......@@ -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