mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-opt
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user