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
f9337ba9
Commit
f9337ba9
authored
Aug 19, 2004
by
tomas@poseidon.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some platfom compile/build fixes for ndb
parent
7c69afaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ndb/include/kernel/Interpreter.hpp
ndb/include/kernel/Interpreter.hpp
+3
-3
ndb/include/util/BaseString.hpp
ndb/include/util/BaseString.hpp
+1
-1
No files found.
ndb/include/kernel/Interpreter.hpp
View file @
f9337ba9
...
...
@@ -83,7 +83,7 @@ public:
static
Uint32
LoadConst64
(
Uint32
Register
);
// Value in next 2 words
static
Uint32
Add
(
Uint32
DstReg
,
Uint32
SrcReg1
,
Uint32
SrcReg2
);
static
Uint32
Sub
(
Uint32
DstReg
,
Uint32
SrcReg1
,
Uint32
SrcReg2
);
static
Uint32
Branch
(
Uint32
Inst
,
Uint32
R
1
,
Uint32
R
2
);
static
Uint32
Branch
(
Uint32
Inst
,
Uint32
R
eg1
,
Uint32
Reg
2
);
static
Uint32
ExitOK
();
/**
...
...
@@ -184,8 +184,8 @@ Interpreter::Sub(Uint32 Dcoleg, Uint32 SrcReg1, Uint32 SrcReg2){
inline
Uint32
Interpreter
::
Branch
(
Uint32
Inst
,
Uint32
R
1
,
Uint32
R
2
){
return
(
R
1
<<
9
)
+
(
R
2
<<
6
)
+
Inst
;
Interpreter
::
Branch
(
Uint32
Inst
,
Uint32
R
eg1
,
Uint32
Reg
2
){
return
(
R
eg1
<<
9
)
+
(
Reg
2
<<
6
)
+
Inst
;
}
inline
...
...
ndb/include/util/BaseString.hpp
View file @
f9337ba9
...
...
@@ -176,7 +176,7 @@ public:
/**
* Trim string from <i>delim</i>
*/
static
char
*
trim
(
char
*
src
,
const
char
*
delim
=
"
\t
"
);
static
char
*
trim
(
char
*
src
,
const
char
*
delim
);
private:
char
*
m_chr
;
unsigned
m_len
;
...
...
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