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
9bc0c99a
Commit
9bc0c99a
authored
Jun 27, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #19852 Restoring backup made from cluster with full data memory fails
- post merge fixes for 5.1
parent
49c8863b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
+5
-3
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
View file @
9bc0c99a
...
...
@@ -535,9 +535,11 @@ void Dbtup::execTUP_ADD_ATTRREQ(Signal* signal)
#endif
{
ndbrequire
(
regTabPtr
.
p
->
m_offsets
[
MM
].
m_fix_header_size
>
0
);
Uint32
noRowsPerPage
=
ZWORDS_ON_PAGE
/
regTabPtr
.
p
->
m_offsets
[
MM
].
m_fix_header_size
;
Uint32
fix_tupheader
=
regTabPtr
.
p
->
m_offsets
[
MM
].
m_fix_header_size
;
if
(
regTabPtr
.
p
->
m_attributes
[
MM
].
m_no_of_varsize
!=
0
)
fix_tupheader
+=
Tuple_header
::
HeaderSize
+
1
;
ndbassert
(
fix_tupheader
>
0
);
Uint32
noRowsPerPage
=
ZWORDS_ON_PAGE
/
fix_tupheader
;
Uint32
noAllocatedPages
=
(
fragOperPtr
.
p
->
minRows
+
noRowsPerPage
-
1
)
/
noRowsPerPage
;
if
(
fragOperPtr
.
p
->
minRows
==
0
)
...
...
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