Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e5151f7e
Commit
e5151f7e
authored
Apr 17, 2013
by
Zardosht Kasheff
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs #5802, refine comment
git-svn-id:
file:///svn/toku/tokudb@51200
c7de825b-a66e-492c-adef-691d508d4ae1
parent
bf543411
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ft/cachetable.cc
ft/cachetable.cc
+2
-1
No files found.
ft/cachetable.cc
View file @
e5151f7e
...
@@ -3779,7 +3779,8 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
...
@@ -3779,7 +3779,8 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
// if (2^16*curr_size/average_size > rnd)
// if (2^16*curr_size/average_size > rnd)
// this evaluates to:
// this evaluates to:
// if (2^16*curr_size*n_in_table/size_current > rnd)
// 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,
// and dividing each side by 2^16,
// we get the if-clause below
// we get the if-clause below
//
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment