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
a92a9b53
Commit
a92a9b53
authored
Apr 23, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#28023 (51-main)
Add/sub correct offsets (with 2 word varpart ref)
parent
770e48fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
+3
-4
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
View file @
a92a9b53
...
...
@@ -2915,11 +2915,10 @@ Dbtup::nr_update_gci(Uint32 fragPtrI, const Local_key* key, Uint32 gci)
int
ret
;
if
(
tablePtr
.
p
->
m_attributes
[
MM
].
m_no_of_varsize
)
{
tablePtr
.
p
->
m_offsets
[
MM
].
m_fix_header_size
+=
Tuple_header
::
HeaderSize
+
1
;
const
Uint32
XXX
=
Tuple_header
::
HeaderSize
+
Var_part_ref
::
SZ32
;
tablePtr
.
p
->
m_offsets
[
MM
].
m_fix_header_size
+=
XXX
;
ret
=
alloc_page
(
tablePtr
.
p
,
fragPtr
.
p
,
&
page_ptr
,
tmp
.
m_page_no
);
tablePtr
.
p
->
m_offsets
[
MM
].
m_fix_header_size
-=
Tuple_header
::
HeaderSize
+
1
;
tablePtr
.
p
->
m_offsets
[
MM
].
m_fix_header_size
-=
XXX
;
}
else
{
...
...
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