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
04a23e22
Commit
04a23e22
authored
Jan 21, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
parents
bca11d87
e291e98d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
ndb/include/ndbapi/NdbRecAttr.hpp
ndb/include/ndbapi/NdbRecAttr.hpp
+12
-4
No files found.
ndb/include/ndbapi/NdbRecAttr.hpp
View file @
04a23e22
...
...
@@ -312,7 +312,9 @@ inline
Int64
NdbRecAttr
::
int64_value
()
const
{
return
*
(
Int64
*
)
theRef
;
Int64
val
;
memcpy
(
&
val
,
theRef
,
8
);
return
val
;
}
inline
...
...
@@ -340,7 +342,9 @@ inline
Uint64
NdbRecAttr
::
u_64_value
()
const
{
return
*
(
Uint64
*
)
theRef
;
Uint64
val
;
memcpy
(
&
val
,
theRef
,
8
);
return
val
;
}
inline
...
...
@@ -368,14 +372,18 @@ inline
float
NdbRecAttr
::
float_value
()
const
{
return
*
(
float
*
)
theRef
;
float
val
;
memcpy
(
&
val
,
theRef
,
sizeof
(
val
));
return
val
;
}
inline
double
NdbRecAttr
::
double_value
()
const
{
return
*
(
double
*
)
theRef
;
double
val
;
memcpy
(
&
val
,
theRef
,
sizeof
(
val
));
return
val
;
}
inline
...
...
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