Commit 97d8311d authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

refs #5802, fix some math

git-svn-id: file:///svn/toku/tokudb@51190 c7de825b-a66e-492c-adef-691d508d4ae1
parent 979ce809
......@@ -3782,7 +3782,7 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
// by multiplying each side of the equation by size_current,
// we get the if-clause below
//
if ((curr_size* n_in_table* 1<<16) < (rnd * size_current)) {
if ((curr_size* n_in_table* (1<<16)) < (rnd * size_current)) {
curr_in_clock->count--;
}
}
......
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