Commit 1517f4b6 authored by unknown's avatar unknown

Fix for bug #6710 (CREATE FUNCTION fails with 'Unknown error')

sql/sql_parse.cc:
  error message added
parent bc8599b4
......@@ -3400,6 +3400,7 @@ purposes internal to the MySQL server", MYF(0));
if (!(res = mysql_create_function(thd,&lex->udf)))
send_ok(thd);
#else
net_printf(thd, ER_CANT_OPEN_LIBRARY, lex->udf.dl, 0, "feature disabled");
res= -1;
#endif
break;
......
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