05-Indexes_Userdef

This sample demonstrates the generated _get_udfs(), _compare_obj(), and _compare_ext() functions and the standard mco_db_register_udf() function for user-defined indexes. (See udfdb_udf.c. When you build this project, a new version of this file is generated by mcocomp named udfdb_udf.c.new, so customizations to udfdb_udf.c will not be overwritten.)

How to Run

See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the \target\bin directory:

    05_indexes_userdef

However, it is more instructive to run it in your development environment debugger, stepping through the code.

Related Topics Link IconRelated Topics