mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fix for bug #6710 (CREATE FUNCTION fails with 'Unknown error')
sql/sql_parse.cc: error message added
This commit is contained in:
@ -3400,6 +3400,7 @@ purposes internal to the MySQL server", MYF(0));
|
|||||||
if (!(res = mysql_create_function(thd,&lex->udf)))
|
if (!(res = mysql_create_function(thd,&lex->udf)))
|
||||||
send_ok(thd);
|
send_ok(thd);
|
||||||
#else
|
#else
|
||||||
|
net_printf(thd, ER_CANT_OPEN_LIBRARY, lex->udf.dl, 0, "feature disabled");
|
||||||
res= -1;
|
res= -1;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user