isfd | isam file descriptor |
int | key id number, where 1 represents the primary |
ISTRUE, or ISFALSE, in which case the error code is returned by isErrno, or found in isfd->iserrno
this routine checks the specified index for errors, and will return a value with the following bits set in accordance with it's findings:
IC_IDXREAD 3 index file read error IC_ORDER 4 key out of order IC_COUNT 5 index count mismatch IC_BADMAGIC 6 bad index node magic number
if the return value is zero then no errors were detected.