mi_boolean mi_eval_am_qual(MI_ROW *row, MI_AM_QUAL_DESC *qualDesc);
The am_getnext purpose function can call mi_eval_am_qual() to obtain results for any qualifications that the access method cannot complete. Before the access method can call mi_eval_am_qual(), it must call mi_row_create() to assemble a row. For a detailed procedure and examples, refer to Processing Complex Qualifications.
If mi_eval_am_qual() returns MI_TRUE, am_getnext returns MI_ROWS. If mi_eval_am_qual() returns MI_FALSE, am_getnext disregards the current row, does not return a value, and starts to evaluate the next row.
MI_TRUE indicates that the row qualifies. MI_FALSE indicates that the row does not qualify.
See the description of function mi_init_am_qual().