The ifx_lo_specset_maxbytes() function
The ifx_lo_specset_maxbytes() function sets the maximum size for a smart large object.
Syntax
mint ifx_lo_specset_maxbytes(LO_spec, maxbytes)
ifx_lo_create_spec_t *LO_spec;
ifx_int8_t *maxbytes;
- LO_spec
- A pointer to the LO-specification structure in which to save the maximum size.
- maxbytes
- A pointer to an ifx_int8_t structure that contains the maximum number of bytes for the smart large object. If this value is -1, the smart large object has no size limit.
Usage
HCL Informix® does not allow the size of a smart large object to exceed the maxbytes value. The database server does not obtain the value from the inheritance hierarchy of storage characteristics. For more information about the maximum size, see Disk-storage information in the LO-specification structure.
Return codes
- 0
- The function was successful.
- -1
- The function was not successful.