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
fc669d12
Commit
fc669d12
authored
Aug 18, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
18 bits didn't fit into Uint16
parent
f03022b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ndb/include/kernel/signaldata/TcKeyReq.hpp
ndb/include/kernel/signaldata/TcKeyReq.hpp
+5
-5
No files found.
ndb/include/kernel/signaldata/TcKeyReq.hpp
View file @
fc669d12
...
...
@@ -143,7 +143,7 @@ private:
*/
static
Uint8
getTakeOverScanFlag
(
const
UintR
&
scanInfo
);
static
Uint16
getTakeOverScanNode
(
const
UintR
&
scanInfo
);
static
Uint
16
getTakeOverScanInfo
(
const
UintR
&
scanInfo
);
static
Uint
32
getTakeOverScanInfo
(
const
UintR
&
scanInfo
);
/**
...
...
@@ -172,7 +172,7 @@ private:
*/
static
void
setTakeOverScanFlag
(
UintR
&
scanInfo
,
Uint8
flag
);
static
void
setTakeOverScanNode
(
UintR
&
scanInfo
,
Uint16
node
);
static
void
setTakeOverScanInfo
(
UintR
&
scanInfo
,
Uint
16
aScanInfo
);
static
void
setTakeOverScanInfo
(
UintR
&
scanInfo
,
Uint
32
aScanInfo
);
};
/**
...
...
@@ -490,9 +490,9 @@ TcKeyReq::getTakeOverScanNode(const UintR & scanInfo){
}
inline
Uint
16
Uint
32
TcKeyReq
::
getTakeOverScanInfo
(
const
UintR
&
scanInfo
){
return
(
Uint
16
)((
scanInfo
>>
SCAN_INFO_SHIFT
)
&
SCAN_INFO_MASK
);
return
(
Uint
32
)((
scanInfo
>>
SCAN_INFO_SHIFT
)
&
SCAN_INFO_MASK
);
}
...
...
@@ -512,7 +512,7 @@ TcKeyReq::setTakeOverScanNode(UintR & scanInfo, Uint16 node){
inline
void
TcKeyReq
::
setTakeOverScanInfo
(
UintR
&
scanInfo
,
Uint
16
aScanInfo
){
TcKeyReq
::
setTakeOverScanInfo
(
UintR
&
scanInfo
,
Uint
32
aScanInfo
){
// ASSERT_MAX(aScanInfo, SCAN_INFO_MASK, "TcKeyReq::setTakeOverScanInfo");
scanInfo
|=
(
aScanInfo
<<
SCAN_INFO_SHIFT
);
}
...
...
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