The mi_istats_setnleaves() accessor function

The mi_istats_setnleaves() function stores the number of index leaf nodes in the statistics descriptor.

Syntax

void mi_istats_setnleaves(MI_AM_ISTATS_DESC *istatsDesc,
   mi_integer nleaves)
istatsDesc
Points to the statistics descriptor.
nleaves
Provides the number of leaf nodes in the index.

Usage

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

Return values

None