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

mi_set_large()

The mi_set_large() function sets the threshold-tracking field of a multirepresentational opaque type to indicate that the multirepresentational data is stored in a smart large object.

Syntax

Usage

The mi_set_large() function assigns the MI_MULTIREP_LARGE constant to size, which is the threshold-tracking field in a multirepresentational opaque type. 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.

After the call to mi_set_large(), the multirepresentational opaque type should call mi_lo_expand() to save the multirepresentational data into a smart large object and save its LO handle in the MI_MULTIREP_DATA structure.

Return Values

None.

Related Topics

See the descriptions of the following functions: mi_issmall_data() and mi_lo_expand().


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