|
There are two compile-time configuration options that assist in debugging Berkeley DB and Berkeley DB applications.
In addition, when compiling Berkeley DB for use in run-time memory consistency checkers, in particular, programs that look for reads and writes of uninitialized memory, use --enable-diagnostic as an argument to configure. This guarantees that Berkeley DB will completely initialize allocated pages rather than only initializing the minimum necessary amount.