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
10a03ce6
Commit
10a03ce6
authored
Mar 30, 2005
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - CSC#4927: ordered index + long pk, second half
parent
7647ac83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
+20
-0
No files found.
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
View file @
10a03ce6
...
@@ -2522,6 +2522,26 @@ void Dbacc::execACC_LOCKREQ(Signal* signal)
...
@@ -2522,6 +2522,26 @@ void Dbacc::execACC_LOCKREQ(Signal* signal)
*
sig
=
*
req
;
*
sig
=
*
req
;
return
;
return
;
}
}
operationRecPtr
.
i
=
req
->
accOpPtr
;
ptrCheckGuard
(
operationRecPtr
,
coprecsize
,
operationrec
);
fragrecptr
.
i
=
operationRecPtr
.
p
->
fragptr
;
ptrCheckGuard
(
fragrecptr
,
cfragmentsize
,
fragmentrec
);
if
(
fragrecptr
.
p
->
keyLength
==
0
&&
// should test some state variable
operationRecPtr
.
p
->
elementPage
!=
RNIL
)
{
jam
();
// re-compute long key vars
Page8Ptr
tPageptr
;
tPageptr
.
i
=
operationRecPtr
.
p
->
elementPage
;
ptrCheckGuard
(
tPageptr
,
cpagesize
,
page8
);
Uint32
tKeyptr
=
operationRecPtr
.
p
->
elementPointer
+
operationRecPtr
.
p
->
elementIsforward
*
(
ZELEM_HEAD_SIZE
+
fragrecptr
.
p
->
localkeylen
);
tslcPageIndex
=
tPageptr
.
p
->
word32
[
tKeyptr
]
&
0x3ff
;
tslcPagedir
=
tPageptr
.
p
->
word32
[
tKeyptr
]
>>
10
;
searchLongKey
(
signal
,
false
);
}
if
(
lockOp
==
AccLockReq
::
Unlock
)
{
if
(
lockOp
==
AccLockReq
::
Unlock
)
{
jam
();
jam
();
// do unlock via ACC_COMMITREQ (immediate)
// do unlock via ACC_COMMITREQ (immediate)
...
...
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