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 | d6ca0cbb23544e2e033f512f400a91ce6245a9a4 (patch) | |
tree | 0320f9cfba455c1d3cb00160205b3412461fffb3 /sql/udf_example.c | |
parent | 2535ede7138cb4d1e8986d18b4154c377ba37f3f (diff) | |
parent | e5888b16afcef42e8127a815cc5a95abc283c6d9 (diff) | |
download | mariadb-git-d6ca0cbb23544e2e033f512f400a91ce6245a9a4.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); |