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
bc23419f
Commit
bc23419f
authored
Nov 07, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
parents
9ab64743
d43fab06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
+8
-5
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
View file @
bc23419f
...
@@ -1352,6 +1352,9 @@ int Dbtup::handleInsertReq(Signal* signal,
...
@@ -1352,6 +1352,9 @@ int Dbtup::handleInsertReq(Signal* signal,
Uint32
*
dst
,
*
ptr
=
0
;
Uint32
*
dst
,
*
ptr
=
0
;
Tuple_header
*
base
=
req_struct
->
m_tuple_ptr
,
*
org
=
base
;
Tuple_header
*
base
=
req_struct
->
m_tuple_ptr
,
*
org
=
base
;
Tuple_header
*
tuple_ptr
;
Tuple_header
*
tuple_ptr
;
bool
disk
,
mem_insert
,
disk_insert
;
Uint32
frag_page_id
,
real_page_id
;
if
((
dst
=
if
((
dst
=
c_undo_buffer
.
alloc_copy_tuple
(
&
regOperPtr
.
p
->
m_copy_tuple_location
,
c_undo_buffer
.
alloc_copy_tuple
(
&
regOperPtr
.
p
->
m_copy_tuple_location
,
regTabPtr
->
total_rec_size
))
==
0
)
regTabPtr
->
total_rec_size
))
==
0
)
...
@@ -1364,9 +1367,9 @@ int Dbtup::handleInsertReq(Signal* signal,
...
@@ -1364,9 +1367,9 @@ int Dbtup::handleInsertReq(Signal* signal,
ndbout
<<
"dst: "
<<
hex
<<
UintPtr
(
dst
)
<<
" - "
ndbout
<<
"dst: "
<<
hex
<<
UintPtr
(
dst
)
<<
" - "
<<
regOperPtr
.
p
->
m_copy_tuple_location
<<
endl
;
<<
regOperPtr
.
p
->
m_copy_tuple_location
<<
endl
;
bool
disk
=
regTabPtr
->
m_no_of_disk_attributes
>
0
;
disk
=
regTabPtr
->
m_no_of_disk_attributes
>
0
;
bool
mem_insert
=
get_tuple_state
(
regOperPtr
.
p
)
==
TUPLE_INITIAL_INSERT
;
mem_insert
=
get_tuple_state
(
regOperPtr
.
p
)
==
TUPLE_INITIAL_INSERT
;
bool
disk_insert
=
regOperPtr
.
p
->
is_first_operation
()
&&
disk
;
disk_insert
=
regOperPtr
.
p
->
is_first_operation
()
&&
disk
;
union
{
union
{
Uint32
sizes
[
4
];
Uint32
sizes
[
4
];
...
@@ -1433,8 +1436,8 @@ int Dbtup::handleInsertReq(Signal* signal,
...
@@ -1433,8 +1436,8 @@ int Dbtup::handleInsertReq(Signal* signal,
/**
/**
* Alloc memory
* Alloc memory
*/
*/
Uint32
frag_page_id
=
req_struct
->
frag_page_id
;
frag_page_id
=
req_struct
->
frag_page_id
;
Uint32
real_page_id
=
regOperPtr
.
p
->
m_tuple_location
.
m_page_no
;
real_page_id
=
regOperPtr
.
p
->
m_tuple_location
.
m_page_no
;
if
(
mem_insert
)
if
(
mem_insert
)
{
{
if
(
!
regTabPtr
->
m_attributes
[
MM
].
m_no_of_varsize
)
if
(
!
regTabPtr
->
m_attributes
[
MM
].
m_no_of_varsize
)
...
...
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