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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d6718d6a
Commit
d6718d6a
authored
Dec 08, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/51-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
25cfd325
0372d3b0
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 @
d6718d6a
...
@@ -2063,6 +2063,7 @@ Lgman::execSTART_RECREQ(Signal* signal)
...
@@ -2063,6 +2063,7 @@ Lgman::execSTART_RECREQ(Signal* signal)
if
(
ptr
.
i
!=
RNIL
)
if
(
ptr
.
i
!=
RNIL
)
{
{
infoEvent
(
"Applying undo to LCP: %d"
,
m_latest_lcp
);
infoEvent
(
"Applying undo to LCP: %d"
,
m_latest_lcp
);
ndbout_c
(
"Applying undo to LCP: %d"
,
m_latest_lcp
);
find_log_head
(
signal
,
ptr
);
find_log_head
(
signal
,
ptr
);
return
;
return
;
}
}
...
@@ -2682,13 +2683,14 @@ Lgman::execute_undo_record(Signal* signal)
...
@@ -2682,13 +2683,14 @@ Lgman::execute_undo_record(Signal* signal)
case
File_formats
:
:
Undofile
::
UNDO_LCP_FIRST
:
case
File_formats
:
:
Undofile
::
UNDO_LCP_FIRST
:
{
{
Uint32
lcp
=
*
(
ptr
-
len
+
1
);
Uint32
lcp
=
*
(
ptr
-
len
+
1
);
if
(
lcp
>
m_latest_lcp
)
if
(
m_latest_lcp
&&
lcp
>
m_latest_lcp
)
{
{
// Just ignore
// Just ignore
break
;
break
;
}
}
if
(
lcp
<
m_latest_lcp
||
if
(
m_latest_lcp
==
0
||
lcp
<
m_latest_lcp
||
(
lcp
==
m_latest_lcp
&&
(
lcp
==
m_latest_lcp
&&
mask
==
File_formats
::
Undofile
::
UNDO_LCP_FIRST
))
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