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
3ff7444a
Commit
3ff7444a
authored
Apr 12, 2007
by
tomas@whalegate.ndb.mysql.com
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
60153172
Changes
2
Show 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 @
3ff7444a
...
@@ -332,13 +332,6 @@ NdbRecAttr::int32_value() const
...
@@ -332,13 +332,6 @@ NdbRecAttr::int32_value() const
return
*
(
Int32
*
)
theRef
;
return
*
(
Int32
*
)
theRef
;
}
}
inline
Int32
NdbRecAttr
::
medium_value
()
const
{
return
sint3korr
((
unsigned
char
*
)
theRef
);
}
inline
inline
short
short
NdbRecAttr
::
short_value
()
const
NdbRecAttr
::
short_value
()
const
...
@@ -360,13 +353,6 @@ NdbRecAttr::u_32_value() const
...
@@ -360,13 +353,6 @@ NdbRecAttr::u_32_value() const
return
*
(
Uint32
*
)
theRef
;
return
*
(
Uint32
*
)
theRef
;
}
}
inline
Uint32
NdbRecAttr
::
u_medium_value
()
const
{
return
uint3korr
((
unsigned
char
*
)
theRef
);
}
inline
inline
Uint16
Uint16
NdbRecAttr
::
u_short_value
()
const
NdbRecAttr
::
u_short_value
()
const
...
...
ndb/src/ndbapi/NdbRecAttr.cpp
View file @
3ff7444a
...
@@ -519,3 +519,15 @@ NdbRecAttr::double_value() const
...
@@ -519,3 +519,15 @@ NdbRecAttr::double_value() const
memcpy
(
&
val
,
theRef
,
sizeof
(
val
));
memcpy
(
&
val
,
theRef
,
sizeof
(
val
));
return
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