From 4b9042580e9674d3a2758c9512e1ec0e068dd5c9 Mon Sep 17 00:00:00 2001 From: Leif Walsh <leif@tokutek.com> Date: Sun, 23 Sep 2012 17:36:35 +0000 Subject: [PATCH] refs #5464 zero out mutex in bdb test git-svn-id: file:///svn/toku/tokudb@48204 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/tests/bdb-simple-deadlock-on-the-fly.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/bdb-simple-deadlock-on-the-fly.cc b/src/tests/bdb-simple-deadlock-on-the-fly.cc index f77bd3383fa..e6980fd6efa 100644 --- a/src/tests/bdb-simple-deadlock-on-the-fly.cc +++ b/src/tests/bdb-simple-deadlock-on-the-fly.cc @@ -136,7 +136,7 @@ static void simple_deadlock(DB_ENV *db_env) { int r; int deadlock_count = 0; - struct test_seq test_seq; test_seq_init(&test_seq); + struct test_seq test_seq; ZERO_STRUCT(test_seq); test_seq_init(&test_seq); toku_pthread_t tid_a; struct locker_args args_a = { db_env, &test_seq, &deadlock_count }; -- 2.30.9