![]() |
|
The mi_issmall_data() macro finds out whether the data in this multirepresentational opaque type is in a smart large object.
size | is an MI_MULTIREP_SIZE. It is typically a field in the internal representation of a multirepresentational data type. |
The mi_issmall_data() macro determines if size, the value of the threshold-tracking field in a multirepresentational opaque type, is equal to the MI_MULTIREP_LARGE constant. If the multirepresentational data is stored in a smart large object, the threshold-tracking field should contain the MI_MULTIREP_LARGE constant. Otherwise, the data is stored in-row and this field should contain the MI_MULTIREP_SMALL constant.
The mi_issmall_data() macro is useful in the assign(), destroy(), or output function of a multirepresentational data type to determine whether the associated data is stored in a smart large object or in-row.
MI_TRUE | indicates that the size is not set to MI_MULTIREP_LARGE. |
MI_FALSE | indicates that the size is set to MI_MULTIREP_LARGE. |
See the description of the mi_set_large() function.