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.
isdelindex will attempt to place an exclusive lock on the isam file for the duration of the update (assuming you have not done so already) and will fail if any other process already has the file open.