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
985e1881
Commit
985e1881
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, add some casts
git-svn-id:
file:///svn/toku/tokudb@51205
c7de825b-a66e-492c-adef-691d508d4ae1
parent
d13962d4
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 @
985e1881
...
@@ -3788,7 +3788,7 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
...
@@ -3788,7 +3788,7 @@ bool evictor::run_eviction_on_pair(PAIR curr_in_clock) {
// 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
//
//
if
((
curr_size
*
n_in_table
)
>=
(
rnd
*
size_current
)
>>
16
)
{
if
((
((
uint64_t
)
curr_size
)
*
n_in_table
)
>=
(((
uint64_t
)
rnd
)
*
size_current
)
)
>>
16
)
{
curr_in_clock
->
count
--
;
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