From ded44df2b52b1860469709666a91e3d3e6f3cf0f Mon Sep 17 00:00:00 2001 From: "hf@deer.(none)" <> Date: Sat, 23 Jul 2005 17:21:27 +0500 Subject: [PATCH] Fix for bug #6710 (CREATE FUNCTION fails with 'Unknown error') --- sql/sql_parse.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index a3f3ef41dee..07650182c8f 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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;