diff options
author | unknown <tsmith@quadxeon.mysql.com> | 2007-04-04 11:41:43 +0200 |
---|---|---|
committer | unknown <tsmith@quadxeon.mysql.com> | 2007-04-04 11:41:43 +0200 |
commit | c5bb750f0b509c2dc30e33b9c51d01e939d777be (patch) | |
tree | 69deff65564d401c917722c273351435272f5198 /mysys/my_pthread.c | |
parent | f9b53a4e842daeb7b2522280f75b505a8de52920 (diff) | |
download | mariadb-git-c5bb750f0b509c2dc30e33b9c51d01e939d777be.tar.gz |
Portability fix to work around OS X -x86 toolchain bug with common (uninitialized data) symbols
mysys/my_pthread.c:
Initialize thd_lib_detected for portability (OS X -x86)
Diffstat (limited to 'mysys/my_pthread.c')
-rw-r--r-- | mysys/my_pthread.c | 2 |
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) |