This sample demonstrates the use of the generated
_get_udfs()
,_compare_obj()
and_compare_ext()
functions and the standard functionmco_db_register_udf()
for user-defined indexes. (See fileudfdb_udf.c
. Note that when you build this project a new version of this file is generated bymcocomp
namedudfdb_udf.c.new
so that any customization done toudfdb_udf.c
will not be overwritten.)
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_userdefBut it is more instructive to run it in your development environment debugger, stepping through the code.