### Berkeley DB Reference Guide: Upgrading Berkeley DB Applications |

### Release 4.4: 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.

Copyright (c) 1996,2007 Oracle. All rights reserved.