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
f75faa84
Commit
f75faa84
authored
Sep 20, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
parents
87ebd98e
1757a8b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
+13
-2
No files found.
ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
View file @
f75faa84
...
...
@@ -1004,8 +1004,19 @@ Dbtup::read_psuedo(Uint32 attrId, Uint32* outBuffer){
return
1
;
case
AttributeHeader
:
:
FRAGMENT_MEMORY
:
{
Uint64
tmp
=
fragptr
.
p
->
noOfPages
;
tmp
*=
32768
;
Uint64
tmp
=
0
;
tmp
+=
fragptr
.
p
->
noOfPages
;
{
/**
* Each fragment is split into 2...get #pages from other as well
*/
Uint32
twin
=
fragptr
.
p
->
fragmentId
^
1
;
FragrecordPtr
twinPtr
;
getFragmentrec
(
twinPtr
,
twin
,
tabptr
.
p
);
ndbrequire
(
twinPtr
.
p
!=
0
);
tmp
+=
twinPtr
.
p
->
noOfPages
;
}
tmp
*=
32768
;
memcpy
(
outBuffer
,
&
tmp
,
8
);
}
return
2
;
...
...
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