The mi_istats_setnunique() accessor function

The mi_istats_setnunique() function stores the number of unique index keys in the statistics descriptor.

Syntax

void mi_istats_setnunique(MI_AM_ISTATS_DESC *istatsDesc,
   mi_integer nunique)
istatsDesc
Points to the statistics descriptor.
nunique
Indicates the number of unique keys in the index.

Usage

Call this function from am_stats. The database server places the value that this function sets in the nunique entry of the sysindices system catalog table.

Return values

None