mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-10 03:34:13 +08:00
mdbx-doc: import - mdb_cursor_del does not invalidate the cursor (ITS#8857).
This commit is contained in:
parent
e1ce55d0e6
commit
c5e72817ca
4
lmdb.h
4
lmdb.h
@ -1589,6 +1589,10 @@ int mdb_cursor_put(MDB_cursor *cursor, MDB_val *key, MDB_val *data,
|
||||
/** @brief 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 MDB_NEXT
|
||||
* can still be used on it.
|
||||
* Both MDB_NEXT and MDB_GET_CURRENT will return the same record after
|
||||
* this operation.
|
||||
* @param[in] cursor A cursor handle returned by #mdb_cursor_open()
|
||||
* @param[in] flags Options for this operation. This parameter
|
||||
* must be set to 0 or one of the values described here.
|
||||
|
Loading…
x
Reference in New Issue
Block a user