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
1bb31494
Commit
1bb31494
authored
Nov 11, 2004
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb: wl-2066 small fix
parent
ad85a10a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
+11
-2
No files found.
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
View file @
1bb31494
...
...
@@ -4555,7 +4555,12 @@ void Dbacc::getElement(Signal* signal)
tgeResult
=
ZFALSE
;
tgeCompareLen
=
fragrecptr
.
p
->
keyLength
;
const
Uint32
isAccLockReq
=
operationRecPtr
.
p
->
isAccLockReq
;
// wl-2066 remove
const
bool
compareLocalKey
=
/*
* The value seached is
* - table key for ACCKEYREQ, stored in TUP
* - local key (1 word) for ACC_LOCKREQ and UNDO, stored in ACC
*/
const
bool
compareLocalKey
=
operationRecPtr
.
p
->
isAccLockReq
||
operationRecPtr
.
p
->
isUndoLogReq
;
ndbrequire
(
TelemLen
==
ZELEM_HEAD_SIZE
+
fragrecptr
.
p
->
localkeylen
);
...
...
@@ -10448,11 +10453,15 @@ void Dbacc::srDoUndoLab(Signal* signal)
((
fragrecptr
.
p
->
keyLength
!=
0
)
&&
(
fragrecptr
.
p
->
keyLength
==
tkeylen
)));
// Read keydata from undo page
// Read localkey1 from undo page
signal
->
theData
[
7
+
0
]
=
undopageptr
.
p
->
undoword
[
tmpindex
];
tmpindex
=
tmpindex
+
1
;
#if 0 // wl-2066 remove
for (Uint32 tmp = 0; tmp < tkeylen; tmp++) {
signal->theData[7+tmp] = undopageptr.p->undoword[tmpindex];
tmpindex = tmpindex + 1;
}//for
#endif
arrGuard
((
tmpindex
-
1
),
8192
);
getElement
(
signal
);
if
(
tgeResult
!=
ZTRUE
)
{
...
...
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