Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
mdbx-doc: import - mdb_cursor_del does not invalidate the cursor (ITS…
Browse files Browse the repository at this point in the history
…#8857).
  • Loading branch information
moneromooo-monero authored and erthink committed Sep 24, 2018
1 parent 0227650 commit a3aa2b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mdbx.h
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,9 @@ LIBMDBX_API int mdbx_cursor_put(MDBX_cursor *cursor, MDBX_val *key,
/* Delete current key/data pair
*
* This function deletes the key/data pair to which the cursor refers.
* This does not invalidate the cursor, so operations such as MDBX_NEXT
* can still be used on it. Both MDBX_NEXT and MDBX_GET_CURRENT will return
* the same record after this operation.
*
* [in] cursor A cursor handle returned by mdbx_cursor_open()
* [in] flags Options for this operation. This parameter must be set to 0
Expand Down

0 comments on commit a3aa2b5

Please sign in to comment.