diff options
author | Staale Smedseng <staale.smedseng@sun.com> | 2009-09-17 17:25:52 +0200 |
---|---|---|
committer | Staale Smedseng <staale.smedseng@sun.com> | 2009-09-17 17:25:52 +0200 |
commit | 0d07a96a7595907bfef59b636fd2152eabc8a03b (patch) | |
tree | 0320f9cfba455c1d3cb00160205b3412461fffb3 /sql/udf_example.c | |
parent | 9a9fbadcac39abf6de2761d3a770d32566e67956 (diff) | |
parent | 5f5b65e0f93d6cc154a32529ed541736af4ce20b (diff) | |
download | mariadb-git-0d07a96a7595907bfef59b636fd2152eabc8a03b.tar.gz |
Merge from 5.0
Diffstat (limited to 'sql/udf_example.c')
-rw-r--r-- | sql/udf_example.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/udf_example.c b/sql/udf_example.c index 30d85d95034..82af58ec502 100644 --- a/sql/udf_example.c +++ b/sql/udf_example.c @@ -139,10 +139,10 @@ typedef long long longlong; #include <mysql.h> #include <ctype.h> -static pthread_mutex_t LOCK_hostname; - #ifdef HAVE_DLOPEN +static pthread_mutex_t LOCK_hostname; + /* These must be right or mysqld will not find the symbol! */ my_bool metaphon_init(UDF_INIT *initid, UDF_ARGS *args, char *message); |