Product Documentation

Database Administrator's Guide

Previous Topic

Next Topic

COMPATIBILITY COPY_FILE_OPEN_SHARED

COMPATIBILITY COPY_FILE_OPEN_SHARED

Restores original shared open behavior for file copy operations. An earlier revision changed ctCopyFile() to open files to copy in exclusive mode such that a clean copy can be made. However, if a customer is able to use a potentially corrupted file copy and are prepared to handle the implications of allowing the shared open copy, this option can restore earlier behavior. When this option is in effect, ctCopyFile() opens the files in shared mode instead of exclusive mode.

The option can be set in the server configuration file and can be changed at runtime. (Remember that the way to do this at runtime is to use ctadmn's options 10, 10, and the configuration open, or the ctSETCFG() API function. To turn off a compatibility keyword you use: COMPATIBILITY ~keyword.)

TOCIndex