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

refs #5368 missed one


git-svn-id: file:///svn/toku/tokudb@48363 c7de825b-a66e-492c-adef-691d508d4ae1
parent d1c0fefe
...@@ -309,7 +309,7 @@ static struct local_counter *get_or_alloc_thread_local_counter(PARTITIONED_COUNT ...@@ -309,7 +309,7 @@ static struct local_counter *get_or_alloc_thread_local_counter(PARTITIONED_COUNT
} }
lc->sum = 0; lc->sum = 0;
HELGRIND_VALGRIND_HG_DISABLE_CHECKING(&lc->sum, sizeof(lc->sum)); // the counter increment is kind of racy. TOKU_VALGRIND_HG_DISABLE_CHECKING(&lc->sum, sizeof(lc->sum)); // the counter increment is kind of racy.
lc->owner_pc = pc; lc->owner_pc = pc;
lc->thread_local_array = &thread_local_array; lc->thread_local_array = &thread_local_array;
......
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