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
cf31f9a8
Commit
cf31f9a8
authored
Apr 11, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-4.1-ndb
parents
dbfe3386
a908db7b
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 @
cf31f9a8
...
...
@@ -390,6 +390,7 @@ Dbtup::commitRecord(Signal* signal,
fragptr
.
p
=
regFragPtr
;
tabptr
.
p
=
regTabPtr
;
Uint32
hashValue
=
firstOpPtr
.
p
->
hashValue
;
if
(
opType
==
ZINSERT_DELETE
)
{
ljam
();
...
...
@@ -412,6 +413,7 @@ Dbtup::commitRecord(Signal* signal,
//--------------------------------------------------------------------
Uint32
saveOpType
=
regOperPtr
->
optype
;
regOperPtr
->
optype
=
ZINSERT
;
regOperPtr
->
hashValue
=
hashValue
;
operPtr
.
p
=
regOperPtr
;
checkDetachedTriggers
(
signal
,
...
...
@@ -444,6 +446,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
;
...
...
@@ -478,11 +482,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