mdbx-doc: clarify mdbx_cursor_put() description.

Fixes https://github.com/erthink/libmdbx/issues/110.

Change-Id: Ieaeae763661d42ac333e2c12cdc141d01e719a54
This commit is contained in:
Leonid Yuriev 2020-06-04 13:35:17 +03:00
parent 44be200e28
commit f5066996b8

5
mdbx.h
View File

@ -3089,14 +3089,15 @@ LIBMDBX_API int mdbx_cursor_get(MDBX_cursor *cursor, MDBX_val *key,
* [in] key The key operated on.
* [in,out] data The data operated on.
* [in] flags Options for this operation. This parameter
* must be set to 0 or one of the values described here:
* must be set to 0 or by bitwise OR'ing together one or more of
* the values described here:
*
* - MDBX_CURRENT
* Replace the item at the current cursor position. The key parameter
* must still be provided, and must match it, otherwise the function
* return MDBX_EKEYMISMATCH.
*
* NOTE: MDBX unlike LMDB allows you to change the size of the data and
* NOTE: MDBX allows (unlike LMDB) you to change the size of the data and
* automatically handles reordering for sorted duplicates (MDBX_DUPSORT).
*
* - MDBX_NODUPDATA