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
dbf58f97
Commit
dbf58f97
authored
May 08, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#27437
redo extra verification code so that tupkeyref is reset just before tupkeyreq
parent
e47e6f79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+13
-4
No files found.
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
dbf58f97
...
...
@@ -3338,7 +3338,7 @@ void Dblqh::seizeTcrec()
locTcConnectptr
.
p
->
tableref
=
RNIL
;
locTcConnectptr
.
p
->
savePointId
=
0
;
#ifdef VM_TRACE
locTcConnectptr
.
p
->
tupkeyref
=
0
;
locTcConnectptr
.
p
->
tupkeyref
=
1
;
#endif
cfirstfreeTcConrec
=
nextTc
;
...
...
@@ -4060,6 +4060,9 @@ void Dblqh::execACCKEYCONF(Signal* signal)
tupKeyReq
->
tcOpIndex
=
tcConnectptr
.
p
->
tcOprec
;
tupKeyReq
->
savePointId
=
tcConnectptr
.
p
->
savePointId
;
#ifdef VM_TRACE
tcConnectptr
.
p
->
tupkeyref
=
0
;
#endif
EXECUTE_DIRECT
(
tup
,
GSN_TUPKEYREQ
,
signal
,
TupKeyReq
::
SignalLength
);
}
//Dblqh::execACCKEYCONF()
...
...
@@ -5872,7 +5875,7 @@ void Dblqh::releaseTcrec(Signal* signal, TcConnectionrecPtr locTcConnectptr)
{
jam
();
#ifdef VM_TRACE
locTcConnectptr
.
p
->
tupkeyref
=
0
;
locTcConnectptr
.
p
->
tupkeyref
=
1
;
#endif
locTcConnectptr
.
p
->
tcTimer
=
0
;
...
...
@@ -5898,7 +5901,7 @@ void Dblqh::releaseTcrecLog(Signal* signal, TcConnectionrecPtr locTcConnectptr)
{
jam
();
#ifdef VM_TRACE
locTcConnectptr
.
p
->
tupkeyref
=
0
;
locTcConnectptr
.
p
->
tupkeyref
=
1
;
#endif
locTcConnectptr
.
p
->
tcTimer
=
0
;
locTcConnectptr
.
p
->
transactionState
=
TcConnectionrec
::
TC_NOT_CONNECTED
;
...
...
@@ -8356,8 +8359,11 @@ void Dblqh::nextScanConfLoopLab(Signal* signal)
tupKeyReq
->
tcOpIndex
=
tcConnectptr
.
p
->
tcOprec
;
tupKeyReq
->
savePointId
=
tcConnectptr
.
p
->
savePointId
;
Uint32
blockNo
=
refToBlock
(
tcConnectptr
.
p
->
tcTupBlockref
);
#ifdef VM_TRACE
tcConnectptr
.
p
->
tupkeyref
=
0
;
#endif
EXECUTE_DIRECT
(
blockNo
,
GSN_TUPKEYREQ
,
signal
,
TupKeyReq
::
SignalLength
);
TupKeyReq
::
SignalLength
);
}
}
...
...
@@ -9479,6 +9485,9 @@ void Dblqh::copySendTupkeyReqLab(Signal* signal)
tupKeyReq
->
tcOpIndex
=
tcConnectptr
.
p
->
tcOprec
;
tupKeyReq
->
savePointId
=
tcConnectptr
.
p
->
savePointId
;
Uint32
blockNo
=
refToBlock
(
tcConnectptr
.
p
->
tcTupBlockref
);
#ifdef VM_TRACE
tcConnectptr
.
p
->
tupkeyref
=
0
;
#endif
EXECUTE_DIRECT
(
blockNo
,
GSN_TUPKEYREQ
,
signal
,
TupKeyReq
::
SignalLength
);
}
...
...
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