Library Version 12.1.6.1

Read Only flag for DBT
Prev | Chapter 12. Upgrading Berkeley DB 11.2.5.1 applications to Berkeley DB 11.2.5.2 | Next

## Read Only flag for DBT

A DBT can now be set as read-only, when passed to the DB->get() method, using the flag `DB_DBT_READONLY`. This is useful when using a static string as a key value, because this flag will prevent Berkeley DB from updating the DBT.

### New Flag

- `DB_DBT_READONLY`

Prev | Up | Next
32bit/64bit Compatibility on Windows | Home | Dynamic Environment Configuration