Define a statistics-display function
When you declare your statistics-display function, it
must have the following signature:
mi_lvarchar *statprint(udt_arg, stat_arg)
udt_type *udt_arg;
mi_statret *stat_arg;
- udt_arg
- A pointer to a placeholder argument. The database server uses this argument to resolve the function and to pass in column values.
- stat_arg
- A pointer to the mi_statret structure that contains the statistics information for the user-defined data type.