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
b2457010
Commit
b2457010
authored
Feb 06, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in _ma_lock_key_del() when key link is locked and there is no freed pages
parent
a1834802
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
storage/maria/ma_key_recover.c
storage/maria/ma_key_recover.c
+4
-1
No files found.
storage/maria/ma_key_recover.c
View file @
b2457010
...
...
@@ -1095,6 +1095,9 @@ my_bool _ma_apply_undo_key_delete(MARIA_HA *info, LSN undo_lsn,
This is safe as we in this case don't write current_key_del into
the redo log and during recover we are not updating key_del.
@retval 1 Use page at end of file
@retval 0 Use page at share->current_key_del
*/
my_bool
_ma_lock_key_del
(
MARIA_HA
*
info
,
my_bool
insert_at_end
)
...
...
@@ -1119,7 +1122,7 @@ my_bool _ma_lock_key_del(MARIA_HA *info, my_bool insert_at_end)
share
->
current_key_del
=
share
->
state
.
key_del
;
pthread_mutex_unlock
(
&
share
->
intern_lock
);
}
return
0
;
return
share
->
current_key_del
==
HA_OFFSET_ERROR
;
}
...
...
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