The mi_qual_issimple() function determines whether a qualification is a function. A function has one of the formats that Table 9 shows, with no AND or OR operators.
mi_boolean mi_qual_issimple(MI_AM_QUAL_DESC *qualDesc);
Call mi_qual_issimple() to determine where to process the current qualification. If mi_qual_issimple() returns MI_TRUE, call the access method routine that executes the strategy-function execution.
For an example that uses mi_qual_issimple() to find the functions in a complex WHERE clause, refer to Processing Complex Qualifications.
If mi_qual_issimple() returns MI_FALSE, the current qualification is a Boolean operator rather than a function. For more information about the Boolean operator, call the mi_qual_boolop() accessor function.
MI_TRUE indicates that the qualification is a function. MI_FALSE indicates that the qualification is not a function.
See the description of: