|
The mi_routine_end() function releases resources associated with a function descriptor.
The mi_routine_end() function frees the function descriptor that funcdesc_ptr references. It is the destructor function for the function descriptor. It frees the memory for:
Important: Informix recommends that you explicitly deallocate function descriptors with mi_routine_end() once you no longer need them. Otherwise, these function descriptors remain until the end of the associated SQL command.
The mi_routine_end() function is one of the functions of the Fastpath interface.
The following DataBlade API look-up functions create a function descriptor:
MI_OK | indicates that the function was successful. |
MI_ERROR | indicates that the function was not successful. |
See the descriptions of the following functions: mi_cast_get(), mi_func_desc_by_typeid(), mi_routine_exec(), mi_routine_get(), mi_routine_get_by_typeid(), and mi_td_cast_get().