A user-allocated MI_FPARAM structure

The Fastpath look-up functions automatically allocate an MI_FPARAM structure and save a pointer to this structure in the function descriptor that they allocate. However, there are some cases in which you might want to allocate your own MI_FPARAM structure for the UDR that Fastpath executes.

For a list of Fastpath look-up functions, see Fastpath look-up functions.

The following DataBlade® API functions support use of a user-allocated MI_FPARAM structure.
DataBlade API function Description
mi_fparam_allocate() Allocates a new MI_FPARAM structure
mi_fparam_copy() Copies an existing MI_FPARAM structure into a new MI_FPARAM structure
mi_fparam_free() Frees a user-allocated MI_FPARAM structure
mi_fp_usr_fparam() Determines whether a specified MI_FPARAM structure was allocated by the database server or by a UDR