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
67835c13
Commit
67835c13
authored
Feb 07, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
parents
f964e136
fbad4313
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
+4
-1
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
View file @
67835c13
...
...
@@ -1114,9 +1114,12 @@ Dbtup::prepare_initial_insert(KeyReqStruct *req_struct,
ptr
=
ALIGN_WORD
(
dst
->
m_data_ptr
+
regTabPtr
->
m_offsets
[
MM
].
m_max_var_offset
);
order
+=
regTabPtr
->
m_attributes
[
MM
].
m_no_of_fixsize
;
Uint32
pos
=
0
;
Uint16
*
pos_ptr
=
req_struct
->
var_pos_array
;
Uint16
*
len_ptr
=
pos_ptr
+
cnt1
;
for
(
Uint32
i
=
0
;
i
<
cnt1
;
i
++
)
{
dst
->
m_offset_array_ptr
[
i
]
=
pos
;
*
pos_ptr
++
=
pos
;
*
len_ptr
++
=
pos
;
pos
+=
AttributeDescriptor
::
getSizeInBytes
(
tab_descr
[
*
order
++
].
tabDescr
);
}
}
...
...
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