Library Version 18.1.40

Comparison Function Signature Change
Prev | Chapter 11. Upgrading Berkeley DB 11.2.5.3 applications to Berkeley DB 12.1.6.0 | Next

## Comparison Function Signature Change

A new parameter has been added to the comparison callback set by the following methods:

- DB->set_bt_compare()
- DB->set_dup_compare()
- DB->set_h_compare()

The new parameter is the `locp` parameter, and it is the last parameter required in the callback's signature. It is intended for internal use only. In customer code, the parameter must be set to `NULL`.

Prev | Up | Next
Sequence Datatype Changes | Home | License Change