isAddIndex

add an index to an ISAM file

SYNOPSIS

int isAddIndex( IsFile * isfd, IsKdsc * key );

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

RETURN

ISTRUE, or ISFALSE, in which case the error code is returned by isErrno, or found in isfd->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.