|
The mi_fp_getrow() accessor function obtains the row structure that is associated with the user-defined routine from its MI_FPARAM structure.
The mi_fp_getrow() function obtains the row structure for the user-defined routine that is associated with the fparam_ptr MI_FPARAM structure. This function is only valid within an assign(), destroy(), or import support function for an opaque data type that contains smart large objects and for multirepresentational opaque types. The database server automatically obtains the row structure before it executes the assign(), destroy(), or import function of an opaque data type, and stores it in the MI_FPARAM structure.
With the mi_fp_getrow() function, you can implement:
Important: The mi_fp_getrow() function is valid only when called from within an assign(), destroy(), or import support function of an opaque data type. Outside the context of an assign() or destroy() function, mi_fp_getrow() always returns a NULL-valued pointer. For more information, see the description of the mi_lo_colinfo_by_ids() function.
See the descriptions of the following functions: mi_fp_getcolid() and mi_lo_colinfo_by_ids().