In V10.3 and later, the cttctx test program supports locking options for record reads. This test program adds a record, reads it with a write lock, and deletes it. It can be run in a mode that only reads the records. Prior to this revision, the test program always acquired a write lock when reading the record.
This revision adds an option to perform the reads with no lock, with a read lock, or with a write lock. The following command line options are available:
When these options are used, the test program displays the type of locking that is used: