diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2005-03-07 18:47:47 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2005-03-07 18:47:47 +0100 |
commit | dcd8383b86fee06ea09bc9ad9a2127aad67f39c0 (patch) | |
tree | e857982a1d66b8631ecaa065aeacc3ddf1dc712b /ndb/include/ndbapi/NdbRecAttr.hpp | |
parent | 01e9d19055cc6beaf51949e1e85cb68763dd0ea4 (diff) | |
download | mariadb-git-dcd8383b86fee06ea09bc9ad9a2127aad67f39c0.tar.gz |
added test compare function for testing event
fixed one bug in event, pk comes first in events...
Diffstat (limited to 'ndb/include/ndbapi/NdbRecAttr.hpp')
-rw-r--r-- | ndb/include/ndbapi/NdbRecAttr.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ndb/include/ndbapi/NdbRecAttr.hpp b/ndb/include/ndbapi/NdbRecAttr.hpp index d1c29adef4f..50de4f3277e 100644 --- a/ndb/include/ndbapi/NdbRecAttr.hpp +++ b/ndb/include/ndbapi/NdbRecAttr.hpp @@ -252,6 +252,7 @@ private: Uint32 attrId() const; /* Get attribute id */ bool setNULL(); /* Set NULL indicator */ + void setUNDEFINED(); /* Set UNDEFINED indicator */ bool receive_data(const Uint32*, Uint32); void release(); /* Release memory if allocated */ @@ -423,6 +424,13 @@ NdbRecAttr::setNULL() } inline +void +NdbRecAttr::setUNDEFINED() +{ + theNULLind = -1; +} + +inline int NdbRecAttr::isNULL() const { |