Description. This method performs identically to getValue(), except that it is used to define a retrieval operation of an attribute's previous value rather than the current value. See Section 126.96.36.199, “NdbEventOperation::getValue()”, for details.
NdbRecAttr* getPreValue ( const char* name, char* value = 0 )
Parameters. This method takes the two parameters listed here:
nameof the attribute (as a constant character pointer).
A pointer to a
value, such that:
If the attribute value is not
NULL, then the attribute value is returned in this parameter.
If the attribute value is
NULL, then the attribute value is stored only in the
NdbRecAttrobject returned by this method.
valueBuffer Memory Allocation, for more information regarding this parameter.
NdbRecAttr object to hold
the value of the attribute, or a
indicating that an error has occurred.