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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
4007902d
Commit
4007902d
authored
Dec 14, 2012
by
Zardosht Kasheff
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs #5802, fix some math
git-svn-id:
file:///svn/toku/tokudb@51190
c7de825b-a66e-492c-adef-691d508d4ae1
parent
6829e87c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ft/cachetable.cc
ft/cachetable.cc
+1
-1
No files found.
ft/cachetable.cc
View file @
4007902d
...
...
@@ -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
--
;
}
}
...
...
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