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
efb6bc50
Commit
efb6bc50
authored
Dec 17, 2011
by
Zardosht Kasheff
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[t:4286], add comment
git-svn-id:
file:///svn/toku/tokudb@37944
c7de825b-a66e-492c-adef-691d508d4ae1
parent
55d67535
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
newbrt/cachetable.c
newbrt/cachetable.c
+6
-0
No files found.
newbrt/cachetable.c
View file @
efb6bc50
...
...
@@ -1712,6 +1712,12 @@ static int cachetable_put_internal(
for
(
p
=
ct
->
table
[
fullhash
&
(
cachefile
->
cachetable
->
table_size
-
1
)];
p
;
p
=
p
->
hash_chain
)
{
count
++
;
if
(
p
->
key
.
b
==
key
.
b
&&
p
->
cachefile
==
cachefile
)
{
// Ideally, we would like to just assert(FALSE) here
// and not return an error, but as of Dr. Noga,
// cachetable-test2 depends on this behavior.
// To replace the following with an assert(FALSE)
// we need to change the behavior of cachetable-test2
//
// Semantically, these two asserts are not strictly right. After all, when are two functions eq?
// In practice, the functions better be the same.
assert
(
p
->
flush_callback
==
flush_callback
);
...
...
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