summaryrefslogtreecommitdiff
path: root/mysys/my_thr_init.c
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-04-09 07:12:41 +0300
committerunknown <monty@mysql.com>2004-04-09 07:12:41 +0300
commit1bbca272a99e53efa707a137349dab4bc72e4533 (patch)
treeb87b57af080028a2afcfb4f98e8339b2b78c6b46 /mysys/my_thr_init.c
parente51447b1430e854fa0df1f37821e722cdb65d2bb (diff)
downloadmariadb-git-1bbca272a99e53efa707a137349dab4bc72e4533.tar.gz
Fixed problems noticed with last build
mysql-test/r/lowercase_table2.result: Fixed typo mysql-test/r/repair.result: Portability fix (For OpenBSD) mysql-test/t/repair.test: Portability fix (For OpenBSD) mysys/my_thr_init.c: Fixed crasch with some tests on OpenBSD. sql/field.cc: Don't truncate big values (Caused a core dump on Linux-Alpha for big values) sql/log.cc: More DBUG
Diffstat (limited to 'mysys/my_thr_init.c')
-rw-r--r--mysys/my_thr_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/my_thr_init.c b/mysys/my_thr_init.c
index 445cef0cd6f..0ce59bee346 100644
--- a/mysys/my_thr_init.c
+++ b/mysys/my_thr_init.c
@@ -203,7 +203,8 @@ void my_thread_end(void)
tmp->dbug=0;
}
#endif
-#if !defined(__bsdi__) || defined(HAVE_mit_thread) /* bsdi dumps core here */
+#if !defined(__bsdi__) && !defined(__OpenBSD__) || defined(HAVE_mit_thread)
+ /* bsdi and openbsd 3.5 dumps core here */
pthread_cond_destroy(&tmp->suspend);
#endif
pthread_mutex_destroy(&tmp->mutex);