Product Documentation

FairCom DB V12 Release Notes

Previous Topic

Next Topic

LOKREC() ctCHKLOK mode now returns lock information for lock acquired using co-file

When a c-tree data file was open more than once using the MULTIOPN_SAMUSR_1 or MULTIOPN_SAMUSR_M mode, a call to LOKREC() with mode of ctCHKLOK did not return information about a lock that was acquired using a different file number (co-file).

The ctCHKLOK feature has been modified to loop over all co-file numbers for a file that is open using the MULTIOPN_SAMUSR_1 or MULTIOPN_SAMUSR_M mode, checking for the existence of a lock at the specified offset.

TOCIndex