diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-07-02 22:08:51 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-07-02 22:08:51 +0200 |
commit | 30b85f9e9aa2764fdb1c06517dbe817e6e57b1aa (patch) | |
tree | fa2792ff86d0da014b535d743759810612338042 /mysys/thr_lock.c | |
parent | 9182079c5ff5081f6889a765e16a102610a77863 (diff) | |
parent | 8e35f7a8427807b7c2ec0af77c33dd5f32f62155 (diff) | |
download | mariadb-git-30b85f9e9aa2764fdb1c06517dbe817e6e57b1aa.tar.gz |
5.5-merge
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r-- | mysys/thr_lock.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c index b22823ae33e..8034e6d30a8 100644 --- a/mysys/thr_lock.c +++ b/mysys/thr_lock.c @@ -85,7 +85,6 @@ be any number of TL_WRITE_CONCURRENT_INSERT locks aktive at the same time. #include "mysys_priv.h" -#ifdef THREAD #include "thr_lock.h" #include <m_string.h> #include <errno.h> @@ -1515,7 +1514,6 @@ void thr_print_locks(void) mysql_mutex_unlock(&THR_LOCK_lock); } -#endif /* THREAD */ /***************************************************************************** ** Test of thread locks @@ -1523,8 +1521,6 @@ void thr_print_locks(void) #ifdef MAIN -#ifdef THREAD - struct st_test { uint lock_nr; enum thr_lock_type lock_type; @@ -1754,13 +1750,4 @@ int main(int argc __attribute__((unused)),char **argv __attribute__((unused))) return 0; } -#else /* THREAD */ - -int main(int argc __attribute__((unused)),char **argv __attribute__((unused))) -{ - printf("thr_lock disabled because we are not using threads\n"); - exit(1); -} - -#endif /* THREAD */ #endif /* MAIN */ |