From 97b4679ca85499dea2531ed4d42dc1947b646043 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 4 Jun 2020 12:47:57 +0300 Subject: [PATCH] mdbx-doc: clarify MDBX_GET_BOTH_RANGE description. Related to https://github.com/erthink/libmdbx/issues/109. Change-Id: Id4026121128699ba8141bed9a7c577ce52635da3 --- mdbx.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mdbx.h b/mdbx.h index 65cc44b3..7b432a65 100644 --- a/mdbx.h +++ b/mdbx.h @@ -1383,7 +1383,8 @@ typedef enum MDBX_cursor_op { MDBX_FIRST_DUP, /* MDBX_DUPSORT-only: Position at first data item * of current key. */ MDBX_GET_BOTH, /* MDBX_DUPSORT-only: Position at key/data pair. */ - MDBX_GET_BOTH_RANGE, /* MDBX_DUPSORT-only: position at key, nearest data. */ + MDBX_GET_BOTH_RANGE, /* MDBX_DUPSORT-only: Position at given key and at first + * data greater than or equal to specified data. */ MDBX_GET_CURRENT, /* Return key/data at current cursor position */ MDBX_GET_MULTIPLE, /* MDBX_DUPFIXED-only: Return up to a page of duplicate * data items from current cursor position.