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
dc3c5470
Commit
dc3c5470
authored
Apr 12, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove inline NdbRecAttr functions for medium int as not to depend in my_global
parent
4e84edc9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
14 deletions
+12
-14
ndb/include/ndbapi/NdbRecAttr.hpp
ndb/include/ndbapi/NdbRecAttr.hpp
+0
-14
ndb/src/ndbapi/NdbRecAttr.cpp
ndb/src/ndbapi/NdbRecAttr.cpp
+12
-0
No files found.
ndb/include/ndbapi/NdbRecAttr.hpp
View file @
dc3c5470
...
...
@@ -332,13 +332,6 @@ NdbRecAttr::int32_value() const
return
*
(
Int32
*
)
theRef
;
}
inline
Int32
NdbRecAttr
::
medium_value
()
const
{
return
sint3korr
((
unsigned
char
*
)
theRef
);
}
inline
short
NdbRecAttr
::
short_value
()
const
...
...
@@ -360,13 +353,6 @@ NdbRecAttr::u_32_value() const
return
*
(
Uint32
*
)
theRef
;
}
inline
Uint32
NdbRecAttr
::
u_medium_value
()
const
{
return
uint3korr
((
unsigned
char
*
)
theRef
);
}
inline
Uint16
NdbRecAttr
::
u_short_value
()
const
...
...
ndb/src/ndbapi/NdbRecAttr.cpp
View file @
dc3c5470
...
...
@@ -519,3 +519,15 @@ NdbRecAttr::double_value() const
memcpy
(
&
val
,
theRef
,
sizeof
(
val
));
return
val
;
}
Int32
NdbRecAttr
::
medium_value
()
const
{
return
sint3korr
((
unsigned
char
*
)
theRef
);
}
Uint32
NdbRecAttr
::
u_medium_value
()
const
{
return
uint3korr
((
unsigned
char
*
)
theRef
);
}
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