You can obtain the routine identifier for a strategy function directly from the qualification descriptor that the database server passes to the access method. Call mi_qual_funcid(). Because the database server does not provide the routine identifier for a support function directly in a descriptor, use the following procedure to identify the support function for FastPath execution.
sprintf(prototype, "%s(%s,%s)", function_name, key_data_type, key_data_type);
For an example of a secondary access method that includes dynamic support-function execution, see the indexing information on the IBM Informix Developer Zone at www.ibm.com/software/data/developer/informix.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]