The mi_lo_specset_extsz() function
The mi_lo_specset_extsz() function sets the allocation extent size for a smart large object.
Syntax
mi_integer mi_lo_specget_extsz(LO_spec, extsz)
MI_LO_SPEC *LO_spec;
mi_integer extsz;
- LO_spec
- A pointer to the LO-specification structure in which to save the extend size.
- extsz
- An integer value for the size, in kilobytes, of the allocation extent of a smart large object.
Valid in client LIBMI application? | Valid in user-defined routine? |
---|---|
Yes | Yes |
Usage
When you set the extent size with mi_lo_specset_extsz(), you override any column-level or system-specified extent size in the LO-specification structure. You then pass this LO-specification structure to a smart-large-object creation function (such as mi_lo_create()) to provide the extent size as a user-supplied storage characteristic for a new smart large object.
For more information about the allocation extent size of a smart large object or on how to use the mi_lo_specset_extsz() function, see the HCL OneDB™ DataBlade® API Programmer's Guide.
Return values
- MI_OK
- The function was successful.
- MI_ERROR
- The function was not successful.