Library Version 18.1.40

DB_MPOOLFILE->set_clear_len
Prev | Chapter 6. Upgrading Berkeley DB 4.3 applications to Berkeley DB 4.4 | Next

## DB_MPOOLFILE->set_clear_len

The meaning of a 0 "clear length" argument to the DB_MPOOLFILE->set_clear_len() method changed in the Berkeley DB 4.4 release. In previous releases, specifying a length of 0 was equivalent to the default, and the entire created page was cleared. Unfortunately, this left no way to specify that no part of the page needed to be cleared. In the 4.4 release, specifying a "clear length" argument of 0 means that no part of the page need be cleared.

Applications specifying a 0 "clear length" argument to the DB_MPOOLFILE->set_clear_len() method should simply remove the call, as the default behavior is to clear the entire created page.

Prev | Up | Next
mutexes | Home | lock statistics