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
4a0302aa
Commit
4a0302aa
authored
Feb 06, 2008
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-maria
into mysql.com:/home/my/mysql-maria
parents
518caf1d
b2457010
Changes
1
Hide 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 @
4a0302aa
...
@@ -1095,6 +1095,9 @@ my_bool _ma_apply_undo_key_delete(MARIA_HA *info, LSN undo_lsn,
...
@@ -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
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.
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
)
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)
...
@@ -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
;
share
->
current_key_del
=
share
->
state
.
key_del
;
pthread_mutex_unlock
(
&
share
->
intern_lock
);
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