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
97d8311d
Commit
97d8311d
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, fix some math
git-svn-id:
file:///svn/toku/tokudb@51190
c7de825b-a66e-492c-adef-691d508d4ae1
parent
979ce809
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 @
97d8311d
...
...
@@ -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