mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
refs #5802, refine comment
git-svn-id: file:///svn/toku/tokudb@51200 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
bf54341114
commit
e5151f7eda
1 changed files with 2 additions and 1 deletions
|
@ -3779,7 +3779,8 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
|
|||
// if (2^16*curr_size/average_size > rnd)
|
||||
// this evaluates to:
|
||||
// if (2^16*curr_size*n_in_table/size_current > rnd)
|
||||
// by multiplying each side of the equation by size_current,
|
||||
// by multiplying each side of the equation by size_current, we get
|
||||
// if (2^16*curr_size*n_in_table > rnd*size_current)
|
||||
// and dividing each side by 2^16,
|
||||
// we get the if-clause below
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue