isfd | isam file identifier |
key | description of secondary index to delete, see isam indexes |
SUCCESS, or a negative value on error, in which case the error code is found in iserrno.
when deleting an index from a populated file, isdelindex will purge the accumulated keys. in the case of larger files this could take a while, but will be significantly faster than the isaddindex call.
if the file is not exclusively locked, an automatic ISEXCLLOCK will be placed around the operation, and if this is not possible, an ENOTEXCL error will be returned.