Library Version 11.2.5.3
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.
DB_DBT_READONLY