diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 23aa676c8fc..07c6c62da28 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -3645,6 +3645,7 @@ end_with_restore_list: 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= TRUE; #endif break;