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
b51c819c
Commit
b51c819c
authored
Jan 30, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The compiler warning fixed.
parent
5bfcd9b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
storage/maria/ma_pagecache.c
storage/maria/ma_pagecache.c
+8
-3
No files found.
storage/maria/ma_pagecache.c
View file @
b51c819c
...
...
@@ -298,7 +298,12 @@ struct st_pagecache_block_link
#endif
KEYCACHE_CONDVAR
*
condvar
;
/* condition variable for 'no readers' event */
uchar
*
buffer
;
/* buffer for the block page */
void
*
write_locker
;
#ifdef THREAD
pthread_t
write_locker
;
#else
int
write_locker
;
#endif
ulonglong
last_hit_time
;
/* timestamp of the last hit */
WQUEUE
wqueue
[
COND_SIZE
];
/* queues on waiting requests for new/old pages */
...
...
@@ -2208,9 +2213,9 @@ static my_bool get_wrlock(PAGECACHE *pagecache,
PAGECACHE_FILE
file
=
block
->
hash_link
->
file
;
pgcache_page_no_t
pageno
=
block
->
hash_link
->
pageno
;
#ifdef THREAD
void
*
locker
=
pthread_self
();
pthread_t
locker
=
pthread_self
();
#else
void
*
locker
=
NULL
;
int
locker
=
0
;
#endif
DBUG_ENTER
(
"get_wrlock"
);
DBUG_PRINT
(
"info"
,
(
"the block 0x%lx "
...
...
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