Commit de41df06 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5464 zero out mutex in bdb test

git-svn-id: file:///svn/toku/tokudb@48204 c7de825b-a66e-492c-adef-691d508d4ae1
parent 86e48d7f
...@@ -136,7 +136,7 @@ static void simple_deadlock(DB_ENV *db_env) { ...@@ -136,7 +136,7 @@ static void simple_deadlock(DB_ENV *db_env) {
int r; int r;
int deadlock_count = 0; 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; toku_pthread_t tid_a;
struct locker_args args_a = { db_env, &test_seq, &deadlock_count }; struct locker_args args_a = { db_env, &test_seq, &deadlock_count };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment