]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#8908 DOC: GET_MULTIPLE etc don't return the key
authorHoward Chu <hyc@openldap.org>
Wed, 29 Aug 2018 00:25:01 +0000 (01:25 +0100)
committerHoward Chu <hyc@openldap.org>
Wed, 29 Aug 2018 00:25:01 +0000 (01:25 +0100)
Unnecessary since these are DUPs, the key will always be the same

libraries/liblmdb/lmdb.h

index 16c574a4d1a13d732439daaf5e006ab652e40382..07abb9b8d7385196aa7bd39012152714e85fe8c3 100644 (file)
@@ -402,7 +402,7 @@ typedef enum MDB_cursor_op {
        MDB_GET_BOTH,                   /**< Position at key/data pair. Only for #MDB_DUPSORT */
        MDB_GET_BOTH_RANGE,             /**< position at key, nearest data. Only for #MDB_DUPSORT */
        MDB_GET_CURRENT,                /**< Return key/data at current cursor position */
-       MDB_GET_MULTIPLE,               /**< Return key and up to a page of duplicate data items
+       MDB_GET_MULTIPLE,               /**< Return up to a page of duplicate data items
                                                                from current cursor position. Move cursor to prepare
                                                                for #MDB_NEXT_MULTIPLE. Only for #MDB_DUPFIXED */
        MDB_LAST,                               /**< Position at last key/data item */
@@ -411,7 +411,7 @@ typedef enum MDB_cursor_op {
        MDB_NEXT,                               /**< Position at next data item */
        MDB_NEXT_DUP,                   /**< Position at next data item of current key.
                                                                Only for #MDB_DUPSORT */
-       MDB_NEXT_MULTIPLE,              /**< Return key and up to a page of duplicate data items
+       MDB_NEXT_MULTIPLE,              /**< Return up to a page of duplicate data items
                                                                from next cursor position. Move cursor to prepare
                                                                for #MDB_NEXT_MULTIPLE. Only for #MDB_DUPFIXED */
        MDB_NEXT_NODUP,                 /**< Position at first data item of next key */
@@ -422,7 +422,7 @@ typedef enum MDB_cursor_op {
        MDB_SET,                                /**< Position at specified key */
        MDB_SET_KEY,                    /**< Position at specified key, return key + data */
        MDB_SET_RANGE,                  /**< Position at first key greater than or equal to specified key. */
-       MDB_PREV_MULTIPLE               /**< Position at previous page and return key and up to
+       MDB_PREV_MULTIPLE               /**< Position at previous page and return up to
                                                                a page of duplicate data items. Only for #MDB_DUPFIXED */
 } MDB_cursor_op;