diff options
Diffstat (limited to 'sql/sql_udf.h')
-rw-r--r-- | sql/sql_udf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_udf.h b/sql/sql_udf.h index 4aa055b9858..f10cbc3bbc2 100644 --- a/sql/sql_udf.h +++ b/sql/sql_udf.h @@ -143,5 +143,8 @@ udf_func *find_udf(const char *name, uint len=0,bool mark_used=0); void free_udf(udf_func *udf); int mysql_create_function(THD *thd,udf_func *udf); int mysql_drop_function(THD *thd,const LEX_STRING *name); +#else +static inline void udf_init(void) { } +static inline void udf_free(void) { } #endif #endif /* SQL_UDF_INCLUDED */ |