informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_issmall_data()

The mi_issmall_data() macro finds out whether the data in this multirepresentational opaque type is in a smart large object.

Syntax

Usage

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.

Return Values

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.

Related Topics

See the description of the mi_set_large() function.


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved