The ifx_lo_specget_maxbytes() function
The ifx_lo_specget_maxbytes() function obtains from an LO-specification structure the maximum size of a smart large object.
Syntax
mint ifx_lo_specget_maxbytes(LO_spec, maxbytes)
ifx_lo_create_spec_t *LO_spec;
ifx_int8_t *maxbytes;
- LO_spec
- A pointer to the LO-specification structure from which to obtain the maximum size.
- maxbytes
- A pointer to an int8 value into which ifx_lo_specget_maxbytes() puts
the maximum size, in bytes, of the smart large object. If this value
is
-1
, the smart large object has no size limit.
Usage
HCL
OneDB™ does not allow
the size of a smart large object to exceed the maxbytes value.
For more information about the maximum size, see Disk-storage
information in the LO-specification structure.
Important: You must call the ifx_lo_def_create_spec() function
to initialize an LO-specification structure before you call ifx_lo_specget_maxbytes().
You can use the ifx_lo_col_info() function to store
storage characteristics that are associated with a particular column
in an LO-specification structure.
Return codes
- 0
- The function was successful.
- -1
- The function was not successful.