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
2bc490d4
Commit
2bc490d4
authored
Apr 20, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#18594 ndb_restore log boken in 5.1
- corrected log read after fragment id addition
parent
6be87a41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp
storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp
+1
-1
storage/ndb/tools/restore/Restore.cpp
storage/ndb/tools/restore/Restore.cpp
+1
-1
No files found.
storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp
View file @
2bc490d4
...
...
@@ -144,7 +144,7 @@ struct BackupFormat {
// If TriggerEvent & 0x10000 == true then GCI is right after data
Uint32
TriggerEvent
;
Uint32
FragId
;
Uint32
Data
[
1
];
// Len = Length -
2
Uint32
Data
[
1
];
// Len = Length -
3
};
};
...
...
storage/ndb/tools/restore/Restore.cpp
View file @
2bc490d4
...
...
@@ -1036,7 +1036,7 @@ RestoreLogIterator::getNextLogEntry(int & res, bool *alloc_flag) {
m_logEntry
.
clear
();
AttributeHeader
*
ah
=
(
AttributeHeader
*
)
&
logE
->
Data
[
0
];
AttributeHeader
*
end
=
(
AttributeHeader
*
)
&
logE
->
Data
[
len
-
2
];
AttributeHeader
*
end
=
(
AttributeHeader
*
)
&
logE
->
Data
[
len
-
3
];
AttributeS
*
attr
;
m_logEntry
.
m_frag_id
=
ntohl
(
logE
->
FragId
);
while
(
ah
<
end
){
...
...
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