mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 19:41:47 +01:00
#4131 mark fractal tree status variables so that drd will ignore them closes[t:4131]
git-svn-id: file:///svn/toku/tokudb@37113 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
76117f564d
commit
46b2fbe221
5 changed files with 29 additions and 2 deletions
|
@ -131,8 +131,6 @@ toku_brt_get_status(BRT_STATUS s) {
|
|||
*s = brt_status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void
|
||||
toku_brt_header_suppress_rollbacks(struct brt_header *h, TOKUTXN txn) {
|
||||
TXNID txnid = toku_txn_get_txnid(txn);
|
||||
|
@ -7693,3 +7691,10 @@ toku_reset_root_xid_that_created(BRT brt, TXNID new_root_xid_that_created) {
|
|||
h->dirty = 1;
|
||||
toku_brtheader_unlock (h);
|
||||
}
|
||||
|
||||
#include <valgrind/drd.h>
|
||||
void __attribute__((__constructor__)) toku_brt_drd_ignore(void);
|
||||
void
|
||||
toku_brt_drd_ignore(void) {
|
||||
DRD_IGNORE_VAR(brt_status);
|
||||
}
|
||||
|
|
|
@ -239,3 +239,10 @@ toku_checkpoint(CACHETABLE ct, TOKULOGGER logger,
|
|||
status.checkpoint_count_fail++;
|
||||
return r;
|
||||
}
|
||||
|
||||
#include <valgrind/drd.h>
|
||||
void __attribute__((__constructor__)) toku_checkpoint_drd_ignore(void);
|
||||
void
|
||||
toku_checkpoint_drd_ignore(void) {
|
||||
DRD_IGNORE_VAR(status);
|
||||
}
|
||||
|
|
|
@ -2231,3 +2231,9 @@ toku_le_upgrade_13_14(LEAFENTRY_13 old_leafentry,
|
|||
return rval;
|
||||
}
|
||||
|
||||
#include <valgrind/drd.h>
|
||||
void __attribute__((__constructor__)) toku_ule_drd_ignore(void);
|
||||
void
|
||||
toku_ule_drd_ignore(void) {
|
||||
DRD_IGNORE_VAR(status);
|
||||
}
|
||||
|
|
|
@ -975,6 +975,9 @@ stress_tests.drdrun: $(TINY_STRESS_TESTS) \
|
|||
large_test_stress1.drdrun large_test_stress3.drdrun
|
||||
true
|
||||
|
||||
tiny_stress_tests.drdrun: $(TINY_STRESS_TESTS)
|
||||
true
|
||||
|
||||
tiny_%.drdrun: %.tdb
|
||||
$(VALGRIND) --tool=drd --quiet --suppressions=drd.suppressions --error-exitcode=1 ./$< $(VERBVERBOSE) --num_seconds 5 --num_elements 150 --envdir dir.$@ \
|
||||
$(MAYBEINVERTER) $(SUMMARIZE_CMD)
|
||||
|
|
|
@ -199,3 +199,9 @@ toku_set_func_free(free_fun_t f) {
|
|||
t_free = f;
|
||||
}
|
||||
|
||||
#include <valgrind/drd.h>
|
||||
void __attribute__((constructor)) toku_memory_drd_ignore(void);
|
||||
void
|
||||
toku_memory_drd_ignore(void) {
|
||||
DRD_IGNORE_VAR(status);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue