|
The mi_fp_request() accessor function obtains the iterator status for an iterator function from an associated MI_FPARAM structure.
The database server sets the iterator-status field in an MI_FPARAM structure when the associated user-defined routine is an iterator function. The iterator status is one of three possible MI_SETREQUEST values.
Use the mi_fp_request() function in an iterator function to determine which of the preceding actions to perform for a given iteration.
See the descriptions of the mi_fp_setisdone() function.
For more information on how to create and call iterator functions, see Writing an Iterator Function.