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
ab547213
Commit
ab547213
authored
Feb 04, 2008
by
pekka@sama.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - some warnings, debug errors
parent
2920f929
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
ndb/src/common/debugger/SignalLoggerManager.cpp
ndb/src/common/debugger/SignalLoggerManager.cpp
+1
-1
ndb/src/common/debugger/signaldata/ScanTab.cpp
ndb/src/common/debugger/signaldata/ScanTab.cpp
+1
-1
ndb/src/kernel/vm/pc.hpp
ndb/src/kernel/vm/pc.hpp
+3
-3
No files found.
ndb/src/common/debugger/SignalLoggerManager.cpp
View file @
ab547213
...
@@ -129,7 +129,7 @@ SignalLoggerManager::log(LogMode logMode, const char * params)
...
@@ -129,7 +129,7 @@ SignalLoggerManager::log(LogMode logMode, const char * params)
const
int
count
=
getParameter
(
blocks
,
"BLOCK="
,
params
);
const
int
count
=
getParameter
(
blocks
,
"BLOCK="
,
params
);
int
cnt
=
0
;
int
cnt
=
0
;
if
((
count
==
1
&&
blocks
[
0
]
==
"ALL"
)
||
if
((
count
==
1
&&
!
strcmp
(
blocks
[
0
],
"ALL"
)
)
||
count
==
0
){
count
==
0
){
for
(
int
number
=
0
;
number
<
NO_OF_BLOCKS
;
++
number
){
for
(
int
number
=
0
;
number
<
NO_OF_BLOCKS
;
++
number
){
...
...
ndb/src/common/debugger/signaldata/ScanTab.cpp
View file @
ab547213
...
@@ -69,7 +69,7 @@ printSCANTABCONF(FILE * output, const Uint32 * theData, Uint32 len, Uint16 recei
...
@@ -69,7 +69,7 @@ printSCANTABCONF(FILE * output, const Uint32 * theData, Uint32 len, Uint16 recei
sig
->
transId1
,
sig
->
transId2
);
sig
->
transId1
,
sig
->
transId2
);
fprintf
(
output
,
" requestInfo: Eod: %d OpCount: %d
\n
"
,
fprintf
(
output
,
" requestInfo: Eod: %d OpCount: %d
\n
"
,
(
requestInfo
&
ScanTabConf
::
EndOfData
==
ScanTabConf
::
EndOfData
)
,
(
requestInfo
&
ScanTabConf
::
EndOfData
)
==
ScanTabConf
::
EndOfData
,
(
requestInfo
&
(
~
ScanTabConf
::
EndOfData
)));
(
requestInfo
&
(
~
ScanTabConf
::
EndOfData
)));
size_t
op_count
=
requestInfo
&
(
~
ScanTabConf
::
EndOfData
);
size_t
op_count
=
requestInfo
&
(
~
ScanTabConf
::
EndOfData
);
if
(
op_count
){
if
(
op_count
){
...
...
ndb/src/kernel/vm/pc.hpp
View file @
ab547213
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
theEmulatedJamBlockNumber = number(); \
theEmulatedJamBlockNumber = number(); \
Uint32 tEmulatedJamIndex = theEmulatedJamIndex; \
Uint32 tEmulatedJamIndex = theEmulatedJamIndex; \
*(Uint32*)(theEmulatedJam + tEmulatedJamIndex) = \
*(Uint32*)(theEmulatedJam + tEmulatedJamIndex) = \
((theEmulatedJamBlockNumber << 20) |
line
); \
((theEmulatedJamBlockNumber << 20) |
(line)
); \
theEmulatedJamIndex = (tEmulatedJamIndex + 4) & JAM_MASK; }
theEmulatedJamIndex = (tEmulatedJamIndex + 4) & JAM_MASK; }
#else
#else
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
theEmulatedJamBlockNumber = number(); \
theEmulatedJamBlockNumber = number(); \
Uint32 tEmulatedJamIndex = theEmulatedJamIndex; \
Uint32 tEmulatedJamIndex = theEmulatedJamIndex; \
*(Uint32*)((UintPtr)theEmulatedJam + (Uint32)tEmulatedJamIndex) = \
*(Uint32*)((UintPtr)theEmulatedJam + (Uint32)tEmulatedJamIndex) = \
((theEmulatedJamBlockNumber << 20) |
line
); \
((theEmulatedJamBlockNumber << 20) |
(line)
); \
theEmulatedJamIndex = (tEmulatedJamIndex + 4) & JAM_MASK; }
theEmulatedJamIndex = (tEmulatedJamIndex + 4) & JAM_MASK; }
#endif
#endif
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
#define MEMCOPY_PAGE(to, from, page_size_in_bytes) \
#define MEMCOPY_PAGE(to, from, page_size_in_bytes) \
memcpy((void*)(to), (void*)(from), (size_t)(page_size_in_bytes));
memcpy((void*)(to), (void*)(from), (size_t)(page_size_in_bytes));
#define MEMCOPY_NO_WORDS(to, from, no_of_words) \
#define MEMCOPY_NO_WORDS(to, from, no_of_words) \
memcpy((to), (void*)(from), (size_t)(
no_of_words
<< 2));
memcpy((to), (void*)(from), (size_t)(
(no_of_words)
<< 2));
template
<
class
T
>
template
<
class
T
>
struct
Ptr
{
struct
Ptr
{
...
...
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