From 95035e9ddea539a1409623f46b5dd94247b3be64 Mon Sep 17 00:00:00 2001 From: Rich Prohaska Date: Tue, 16 Apr 2013 23:59:05 -0400 Subject: [PATCH] fix some icc on linux errors in the fractal tree refs[t:2500] git-svn-id: file:///svn/toku/tokudb@18997 c7de825b-a66e-492c-adef-691d508d4ae1 --- newbrt/brt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newbrt/brt.c b/newbrt/brt.c index 5af515a6784..c73a9401701 100644 --- a/newbrt/brt.c +++ b/newbrt/brt.c @@ -2653,7 +2653,7 @@ int toku_brt_insert (BRT brt, DBT *key, DBT *val, TOKUTXN txn) { static void txn_note_doing_work(TOKUTXN txn) { if (txn) - txn->has_done_work = 1; + txn->has_done_work = TRUE; } @@ -3221,7 +3221,7 @@ brt_open(BRT t, const char *fname_in_env, int is_create, int only_create, CACHET r = verify_builtin_comparisons_consistent(t, t->flags); if (r!=0) goto died_after_read_and_pin; t->flags = t->h->flags; - t->did_set_flags = 1; + t->did_set_flags = TRUE; } else { if (t->flags != t->h->flags) { /* if flags have been set then flags must match */ r = EINVAL; goto died_after_read_and_pin;