From: Howard Chu Date: Wed, 26 Mar 2014 09:41:26 +0000 (-0700) Subject: More for ITS#7793/7828 X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~132^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6948f9dace36875f797aeee713019740817e6579;p=openldap More for ITS#7793/7828 Note MDB_CURRENT/MDB_DUPSORT requirement --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index dc64b12c37..d7e6fb0f92 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -1335,7 +1335,8 @@ int mdb_cursor_get(MDB_cursor *cursor, MDB_val *key, MDB_val *data, *
  • #MDB_CURRENT - overwrite the data of the key/data pair to which * the cursor refers with the specified data item. The \b key * parameter is not used for positioning the cursor, but should - * still be provided. + * still be provided. If using sorted duplicates (#MDB_DUPSORT) + * the data item must still sort into the same place. *
  • #MDB_NODUPDATA - enter the new key/data pair only if it does not * already appear in the database. This flag may only be specified * if the database was opened with #MDB_DUPSORT. The function will