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
8f150cc6
Commit
8f150cc6
authored
May 07, 2005
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
parents
7e7ed0f6
8ccd1118
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+2
-0
No files found.
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
8f150cc6
...
@@ -4043,12 +4043,14 @@ calcLHbits(Uint32 * lhPageBits, Uint32 * lhDistrBits,
...
@@ -4043,12 +4043,14 @@ calcLHbits(Uint32 * lhPageBits, Uint32 * lhDistrBits,
tmp
<<=
1
;
tmp
<<=
1
;
distrBits
++
;
distrBits
++
;
}
//while
}
//while
#ifdef ndb_classical_lhdistrbits
if
(
tmp
!=
totalFragments
)
{
if
(
tmp
!=
totalFragments
)
{
tmp
>>=
1
;
tmp
>>=
1
;
if
((
fid
>=
(
totalFragments
-
tmp
))
&&
(
fid
<
(
tmp
-
1
)))
{
if
((
fid
>=
(
totalFragments
-
tmp
))
&&
(
fid
<
(
tmp
-
1
)))
{
distrBits
--
;
distrBits
--
;
}
//if
}
//if
}
//if
}
//if
#endif
*
lhPageBits
=
pageBits
;
*
lhPageBits
=
pageBits
;
*
lhDistrBits
=
distrBits
;
*
lhDistrBits
=
distrBits
;
...
...
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