D_ON_OPT
SUMMARY
d_on_opt(optflag)
int optflag;
ARGUMENTS
optflag Option flag word containing bit settings for the options to
be turned on.
DESCRIPTION
This function is used to turn on any or all db_VISTA runtime options.
There are three runtime options whitch can currently be controlled using
this function, as follows.
1. Ability to turn on the use of delete chains slots when new records
are created.
2. Transaction logging and recovery (multi_user version only).
3. Archive logging (multi_user version only).
4. Case sensitivity in key files and sorted sets.
The optflag argument contains a bit status word which has a bit associated
whith each option. Header file "vista.h" contains definitions for each
option as follows:
#define DCHAINUSE 0x01
#define TRLOGGING 0x02
#define ARCLOGGING 0x04
#define 0x08
This function can be called either before or after the database has been
opened and these options can be turned on and off as desired.
CURRENCY CHANGES
None
RETURN CODES
None
EXAMPLE
/* turn off archive logging */
d_on_opt( ARCLOGGING );
seealso funkcijo.ngo:d_on_opt funkcijo.ngo:d_mapchar