]> git.sur5r.net Git - openldap/blobdiff - libraries/liblmdb/lmdb.h
ITS#7793 mdb_cursor_put(): Fix MDB_CURRENT.
[openldap] / libraries / liblmdb / lmdb.h
index 2ebd43f3daedf7817786deaddfb7f97821e168d9..2ece80580d02b99ae3c3528a786e09103474318b 100644 (file)
@@ -1333,7 +1333,7 @@ int  mdb_cursor_get(MDB_cursor *cursor, MDB_val *key, MDB_val *data,
         * <ul>
         *      <li>#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 ignored.
+        *              parameter is ignored.  The \b data size must match the original.
         *      <li>#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