The mi_lo_specset_estbytes() function
The mi_lo_specset_estbytes() function sets the estimated size of a smart large object.
Syntax
mi_integer mi_lo_specset_estbytes(LO_spec, estbytes)
MI_LO_SPEC *LO_spec;
mi_int8 *estbytes;
- LO_spec
- A pointer to the LO-specification structure in which to save the estimated size.
- estbytes
- A pointer to an eight-byte integer (mi_int8) that contains the desired estimated number of bytes for the smart large object.
Valid in client LIBMI application? | Valid in user-defined routine? |
---|---|
Yes | Yes |
Usage
After you set the estimated size in an LO-specification structure, you pass this structure to a smart-large-object creation function (such as mi_lo_create()) to provide the estimated size as a user-supplied storage characteristic for a new smart large object.
For more information about the estimated size of a smart large object or about how to use the mi_lo_specset_estbytes() 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.