From f5066996b8f34ac9cd23fba22ca7be671c1b2e9a Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 4 Jun 2020 13:35:17 +0300 Subject: [PATCH] mdbx-doc: clarify mdbx_cursor_put() description. Fixes https://github.com/erthink/libmdbx/issues/110. Change-Id: Ieaeae763661d42ac333e2c12cdc141d01e719a54 --- mdbx.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mdbx.h b/mdbx.h index 7dcff3df..7fd0be4c 100644 --- a/mdbx.h +++ b/mdbx.h @@ -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