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
fe892036
Commit
fe892036
authored
Sep 04, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling of comments fixed.
parent
459943d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
storage/maria/ma_pagecache.c
storage/maria/ma_pagecache.c
+4
-4
No files found.
storage/maria/ma_pagecache.c
View file @
fe892036
...
...
@@ -3458,7 +3458,7 @@ static int flush_cached_blocks(PAGECACHE *pagecache,
pagecache_pthread_mutex_unlock
(
&
pagecache
->
cache_lock
);
/*
As all blocks referred in 'cache' are marked by PCBLOCK_IN_FLUSH
we are guar
unte
ed no thread will change them
we are guar
anti
ed no thread will change them
*/
qsort
((
uchar
*
)
cache
,
count
,
sizeof
(
*
cache
),
(
qsort_cmp
)
cmp_sec_link
);
...
...
@@ -3633,7 +3633,7 @@ restart:
/*
Mark the block with BLOCK_IN_FLUSH in order not to let
other threads to use it for new pages and interfere with
our sequence o
t
flushing dirty file pages
our sequence o
f
flushing dirty file pages
*/
block
->
status
|=
PCBLOCK_IN_FLUSH
;
...
...
@@ -3790,7 +3790,7 @@ restart:
flush_type type of the flush
RETURN
0
ok
0
OK
1 error
*/
...
...
@@ -3907,7 +3907,7 @@ my_bool pagecache_collect_changed_blocks_with_lsn(PAGECACHE *pagecache,
block
=
block
->
next_changed
)
{
/*
Q: is there somthing subtle with block->hash_link: can it be NULL?
Q: is there som
e
thing subtle with block->hash_link: can it be NULL?
does it have to be == hash_link->block... ?
*/
DBUG_ASSERT
(
block
->
hash_link
!=
NULL
);
...
...
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