Commit 14d19cba authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4579 get groupcommit test working with helgrind refs[t:4579]

git-svn-id: file:///svn/toku/tokudb@40421 c7de825b-a66e-492c-adef-691d508d4ae1
parent 28a629b8
......@@ -786,10 +786,18 @@ toku_txn_get_state(TOKUTXN txn) {
#include <valgrind/drd.h>
void __attribute__((__constructor__)) toku_txn_drd_ignore(void);
void __attribute__((__constructor__)) toku_txn_status_drd_ignore(void);
void
toku_txn_drd_ignore(void) {
toku_txn_status_drd_ignore(void) {
DRD_IGNORE_VAR(txn_status);
}
#include <valgrind/helgrind.h>
void __attribute__((__constructor__)) toku_txn_status_helgrind_ignore(void);
void
toku_txn_status_helgrind_ignore(void) {
VALGRIND_HG_DISABLE_CHECKING(&txn_status, sizeof txn_status);
}
#undef STATUS_VALUE
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