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
e0a4d1b4
Commit
e0a4d1b4
authored
Apr 11, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/50-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
parents
bd461b01
49549623
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp
ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp
+6
-0
No files found.
ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp
View file @
e0a4d1b4
...
...
@@ -389,6 +389,7 @@ Dbtup::commitRecord(Signal* signal,
fragptr
.
p
=
regFragPtr
;
tabptr
.
p
=
regTabPtr
;
Uint32
hashValue
=
firstOpPtr
.
p
->
hashValue
;
if
(
opType
==
ZINSERT_DELETE
)
{
ljam
();
...
...
@@ -411,6 +412,7 @@ Dbtup::commitRecord(Signal* signal,
//--------------------------------------------------------------------
Uint32
saveOpType
=
regOperPtr
->
optype
;
regOperPtr
->
optype
=
ZINSERT
;
regOperPtr
->
hashValue
=
hashValue
;
operPtr
.
p
=
regOperPtr
;
checkDetachedTriggers
(
signal
,
...
...
@@ -443,6 +445,8 @@ Dbtup::commitRecord(Signal* signal,
befOpPtr
.
p
->
changeMask
.
clear
();
befOpPtr
.
p
->
changeMask
.
bitOR
(
attributeMask
);
befOpPtr
.
p
->
gci
=
regOperPtr
->
gci
;
befOpPtr
.
p
->
optype
=
ZUPDATE
;
befOpPtr
.
p
->
hashValue
=
hashValue
;
befOpPtr
.
p
->
optype
=
opType
;
operPtr
.
p
=
befOpPtr
.
p
;
...
...
@@ -477,11 +481,13 @@ Dbtup::commitRecord(Signal* signal,
Uint32
fragPageId
=
befOpPtr
.
p
->
fragPageId
;
Uint32
pageIndex
=
befOpPtr
.
p
->
pageIndex
;
befOpPtr
.
p
->
optype
=
ZDELETE
;
befOpPtr
.
p
->
realPageId
=
befOpPtr
.
p
->
realPageIdC
;
befOpPtr
.
p
->
pageOffset
=
befOpPtr
.
p
->
pageOffsetC
;
befOpPtr
.
p
->
fragPageId
=
befOpPtr
.
p
->
fragPageIdC
;
befOpPtr
.
p
->
pageIndex
=
befOpPtr
.
p
->
pageIndexC
;
befOpPtr
.
p
->
gci
=
regOperPtr
->
gci
;
befOpPtr
.
p
->
hashValue
=
hashValue
;
befOpPtr
.
p
->
optype
=
opType
;
operPtr
.
p
=
befOpPtr
.
p
;
...
...
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