Commit ce237025 authored by tomas@whalegate.ndb.mysql.com's avatar tomas@whalegate.ndb.mysql.com

Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb

into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
parents ba607308 3ff7444a
...@@ -301,13 +301,6 @@ NdbRecAttr::int32_value() const ...@@ -301,13 +301,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
...@@ -329,13 +322,6 @@ NdbRecAttr::u_32_value() const ...@@ -329,13 +322,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
......
...@@ -517,3 +517,15 @@ NdbRecAttr::double_value() const ...@@ -517,3 +517,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);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment