Commit 023b7629 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5507 zero out mutex in marked_omt_test


git-svn-id: file:///svn/toku/tokudb@48132 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3957a9c8
...@@ -363,6 +363,7 @@ static void stress_test(int nelts) { ...@@ -363,6 +363,7 @@ static void stress_test(int nelts) {
const int num_marker_threads = 5; const int num_marker_threads = 5;
struct stress_shared extra; struct stress_shared extra;
ZERO_STRUCT(extra);
extra.omt = &omt; extra.omt = &omt;
toku_mutex_init(&extra.mutex, NULL); toku_mutex_init(&extra.mutex, NULL);
rwlock_init(&extra.lock); rwlock_init(&extra.lock);
......
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