summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authortsmith@quadxeon.mysql.com <>2007-04-04 11:41:43 +0200
committertsmith@quadxeon.mysql.com <>2007-04-04 11:41:43 +0200
commita95aa68008e16fdc96c8dc448de4c1215a27ae9c (patch)
tree69deff65564d401c917722c273351435272f5198 /mysys
parentf14c2448c3aead7904315173a0e3ae7c4b2d2f33 (diff)
downloadmariadb-git-a95aa68008e16fdc96c8dc448de4c1215a27ae9c.tar.gz
Portability fix to work around OS X -x86 toolchain bug with common (uninitialized data) symbols
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 d8182b67442..aba3e47d754 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -29,7 +29,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)