Product Documentation

Database Administrator's Guide

Previous Topic

Next Topic

COMPATIBILITY PUTHDR_COMMIT

COMPATIBILITY PUTHDR_COMMIT

A KDUP_ERR (2, duplicate key found) could be encountered while using a SRLSEG value as the key. The SRLSEG values (sernum1, sernum2) are stored in the c-tree file header. Header values are handled differently than ordinary record contents, as they are not maintained under typical transaction control; we do not want to hold a lock for the duration of a transaction for these types of values.

PUTHDR() behavior was changed such that on commit, the header value is not reset to the new value. Abort behavior remains the same. This also affects numrec1, numrec2, phyrec1, and phyrec2 header values.

For backward compatibility, the original behavior can be restored by adding this keyword to the configuration file.

TOCIndex