issue #19456: support for record locking