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
d8a9a826
Commit
d8a9a826
authored
Mar 25, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shared IO_CACHE: protection against remove_io_share in a wrong time
bug#3134
parent
97091f38
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
BitKeeper/triggers/post-incoming
BitKeeper/triggers/post-incoming
+0
-3
BitKeeper/triggers/post-outgoing
BitKeeper/triggers/post-outgoing
+0
-3
mysys/mf_iocache.c
mysys/mf_iocache.c
+2
-1
No files found.
BitKeeper/triggers/post-incoming
deleted
100755 → 0
View file @
97091f38
#! /bin/sh
echo
"Test: post-incoming works"
BitKeeper/triggers/post-outgoing
deleted
100755 → 0
View file @
97091f38
#! /bin/sh
echo
"Test: post-outgoing works"
mysys/mf_iocache.c
View file @
d8a9a826
...
...
@@ -481,7 +481,8 @@ static int lock_io_cache(IO_CACHE *info, my_off_t pos)
while
(
!
s
->
active
||
s
->
active
->
pos_in_file
<
pos
)
pthread_cond_wait
(
&
s
->
cond
,
&
s
->
mutex
);
if
(
s
->
total
<
total
)
if
(
s
->
total
<
total
&&
(
!
s
->
active
||
s
->
active
->
pos_in_file
<
pos
))
return
1
;
pthread_mutex_unlock
(
&
s
->
mutex
);
...
...
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