diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-12-07 15:15:43 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-12-08 09:46:52 +0100 |
commit | 79d08e682ff70469abe7146f06b3b4103679e072 (patch) | |
tree | 7de6b4a6a08219e3f2d649495b4c00c023959d92 /sql/sql_udf.h | |
parent | 859a7369c1977baf6e204f4ed8f54b774790a179 (diff) | |
download | mariadb-git-79d08e682ff70469abe7146f06b3b4103679e072.tar.gz |
small cleanup: udf_init()/udf_free() calls
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 cdb15b9e0f5..68c01964687 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 */ |