diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2015-09-21 15:03:40 +1000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2015-09-21 15:03:40 +1000 |
commit | 30824b710849574b9d6644193d86f447fa2af3cc (patch) | |
tree | d554c67284c82e0609ddd610183f8e62e6b3eaf2 /src/evict | |
parent | 6e8c93f3c397094649eeff35f7aebd81bb1c0a8d (diff) | |
download | mongo-30824b710849574b9d6644193d86f447fa2af3cc.tar.gz |
WT-2114 Fix a bug testing against wrong variable.
Diffstat (limited to 'src/evict')
-rw-r--r-- | src/evict/evict_lru.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evict/evict_lru.c b/src/evict/evict_lru.c index 859898d9edb..e69752422fe 100644 --- a/src/evict/evict_lru.c +++ b/src/evict/evict_lru.c @@ -1531,7 +1531,7 @@ __wt_cache_eviction_worker(WT_SESSION_IMPL *session, int busy, u_int pct_full) } /* Check if we have become busy. */ - if (!busy && txn_state->snap_min != WT_TXN_NONE && + if (!txn_busy && txn_state->snap_min != WT_TXN_NONE && txn_global->current != txn_global->oldest_id) txn_busy = 1; } |