summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorunknown <istruewing@chilla.local>2007-02-02 17:47:13 +0100
committerunknown <istruewing@chilla.local>2007-02-02 17:47:13 +0100
commit4df381fdbe271dbee18ed84b5f041c73ad2c8953 (patch)
tree349417b688fd6210a892c6639d2fcb0f2f0e1299 /unittest
parent141080fac5d735ae690ebd06db8be49354902f12 (diff)
downloadmariadb-git-4df381fdbe271dbee18ed84b5f041c73ad2c8953.tar.gz
After merge fix
Diffstat (limited to 'unittest')
-rw-r--r--unittest/mysys/my_atomic-t.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittest/mysys/my_atomic-t.c b/unittest/mysys/my_atomic-t.c
index f636ffed97f..c4ba7850ae1 100644
--- a/unittest/mysys/my_atomic-t.c
+++ b/unittest/mysys/my_atomic-t.c
@@ -183,6 +183,8 @@ int main()
test_atomic("my_atomic_swap32", test_atomic_swap_handler, THREADS, CYCLES);
test_atomic("my_atomic_cas32", test_atomic_cas_handler, THREADS, CYCLES);
+ /* workaround until we know why this includes dbug but not safemalloc */
+ if(err) { my_thread_global_init(); my_free(my_malloc(0, MYF(0)), MYF(0)); }
/*
workaround until we know why it crashes randomly on some machine
(BUG#22320).