isaddindex

add an index to an ISAM file

SYNOPSIS

int isaddindex( int isfd, IsKdsc * key );

isfd isam file identifier
key description of secondary index to add, see isam indexes

RETURN

SUCCESS, or a negative value on error, in which case the error code is found in iserrno.

NOTES

when adding an index to a populated file, isaddindex will load the new index with keys for all the existing data records. in the case of larger files this could take a while.