summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorkent@mysql.com/kent-amd64.(none) <>2007-07-30 20:40:49 +0200
committerkent@mysql.com/kent-amd64.(none) <>2007-07-30 20:40:49 +0200
commite99df6fd02fff7a06d7b5ed02b2a58378d88d27e (patch)
tree661d0f210a6abccaa6cc29e9fc910217c911bde5 /mysys
parentc3264eaa0f90df3f326efdc52346240fcc633ffe (diff)
downloadmariadb-git-e99df6fd02fff7a06d7b5ed02b2a58378d88d27e.tar.gz
my_pthread.c:
Backport of correction for Mac OS X build problem, global variable not initiated is "common" and can't be used in shared libraries, unless special flags are used (bug#26218)
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c
index 14ba6aabf0e..50c0a82d2d8 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -30,7 +30,7 @@
#define SCHED_POLICY SCHED_OTHER
#endif
-uint thd_lib_detected;
+uint thd_lib_detected= 0;
#ifndef my_pthread_setprio
void my_pthread_setprio(pthread_t thread_id,int prior)