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
d137d79d
Commit
d137d79d
authored
Jan 21, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
parents
902d90a5
a34afae5
Changes
1
Show 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 @
d137d79d
...
@@ -304,7 +304,9 @@ inline
...
@@ -304,7 +304,9 @@ inline
Int64
Int64
NdbRecAttr
::
int64_value
()
const
NdbRecAttr
::
int64_value
()
const
{
{
return
*
(
Int64
*
)
theRef
;
Int64
val
;
memcpy
(
&
val
,
theRef
,
8
);
return
val
;
}
}
inline
inline
...
@@ -332,7 +334,9 @@ inline
...
@@ -332,7 +334,9 @@ inline
Uint64
Uint64
NdbRecAttr
::
u_64_value
()
const
NdbRecAttr
::
u_64_value
()
const
{
{
return
*
(
Uint64
*
)
theRef
;
Uint64
val
;
memcpy
(
&
val
,
theRef
,
8
);
return
val
;
}
}
inline
inline
...
@@ -360,14 +364,18 @@ inline
...
@@ -360,14 +364,18 @@ inline
float
float
NdbRecAttr
::
float_value
()
const
NdbRecAttr
::
float_value
()
const
{
{
return
*
(
float
*
)
theRef
;
float
val
;
memcpy
(
&
val
,
theRef
,
sizeof
(
val
));
return
val
;
}
}
inline
inline
double
double
NdbRecAttr
::
double_value
()
const
NdbRecAttr
::
double_value
()
const
{
{
return
*
(
double
*
)
theRef
;
double
val
;
memcpy
(
&
val
,
theRef
,
sizeof
(
val
));
return
val
;
}
}
inline
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