isRewrite

rewrite an ISAM record

SYNOPSIS

int isRewrite( IsFile * isfd, char * data );

isfd isam file descriptor
data image of record to be updated

RETURN

ISTRUE, or ISFALSE, in which case the error code is returned by isErrno, or found in isfd->iserrno

NOTES

the record to be updated is determined by the contents of the primary index fields as found in the data image passed.

if the primary index allows duplicates this call will fail.

the contents of the current record in the data file will be replaced with the image passed, and all related indexes updated.

the original data image can be found in isfd->data on return.