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
3358f4f1
Commit
3358f4f1
authored
Dec 08, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#24917
parent
6f01db22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
storage/ndb/src/kernel/blocks/lgman.cpp
storage/ndb/src/kernel/blocks/lgman.cpp
+4
-2
No files found.
storage/ndb/src/kernel/blocks/lgman.cpp
View file @
3358f4f1
...
...
@@ -2063,6 +2063,7 @@ Lgman::execSTART_RECREQ(Signal* signal)
if
(
ptr
.
i
!=
RNIL
)
{
infoEvent
(
"Applying undo to LCP: %d"
,
m_latest_lcp
);
ndbout_c
(
"Applying undo to LCP: %d"
,
m_latest_lcp
);
find_log_head
(
signal
,
ptr
);
return
;
}
...
...
@@ -2682,13 +2683,14 @@ Lgman::execute_undo_record(Signal* signal)
case
File_formats
:
:
Undofile
::
UNDO_LCP_FIRST
:
{
Uint32
lcp
=
*
(
ptr
-
len
+
1
);
if
(
lcp
>
m_latest_lcp
)
if
(
m_latest_lcp
&&
lcp
>
m_latest_lcp
)
{
// Just ignore
break
;
}
if
(
lcp
<
m_latest_lcp
||
if
(
m_latest_lcp
==
0
||
lcp
<
m_latest_lcp
||
(
lcp
==
m_latest_lcp
&&
mask
==
File_formats
::
Undofile
::
UNDO_LCP_FIRST
))
{
...
...
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