mirror of
https://github.com/isar/libmdbx.git
synced 2025-11-06 19:08:56 +08:00
mdbx: опечатки/орфография.
This commit is contained in:
14
mdbx.h
14
mdbx.h
@@ -100,7 +100,7 @@ are only a few cases of changing data.
|
||||
| _DELETING_|||
|
||||
|Key is absent → Error since no such key |\ref mdbx_del() or \ref mdbx_replace()|Error \ref MDBX_NOTFOUND|
|
||||
|Key exist → Delete by key |\ref mdbx_del() with the parameter `data = NULL`|Deletion|
|
||||
|Key exist → Delete by key with with data matching check|\ref mdbx_del() with the parameter `data` filled with the value which should be match for deletion|Deletion or \ref MDBX_NOTFOUND if the value does not match|
|
||||
|Key exist → Delete by key with data matching check|\ref mdbx_del() with the parameter `data` filled with the value which should be match for deletion|Deletion or \ref MDBX_NOTFOUND if the value does not match|
|
||||
|Delete at the current cursor position |\ref mdbx_cursor_del() with \ref MDBX_CURRENT flag|Deletion|
|
||||
|Extract (read & delete) value by the key |\ref mdbx_replace() with zero flag and parameter `new_data = NULL`|Returning a deleted value|
|
||||
|
||||
@@ -133,7 +133,7 @@ as a duplicates or as like a multiple values corresponds to keys.
|
||||
|Key exist → Delete all values corresponds given key|\ref mdbx_del() with the parameter `data = NULL`|Deletion|
|
||||
|Key exist → Delete particular value corresponds given key|\ref mdbx_del() with the parameter `data` filled with the value that wanna to delete, or \ref mdbx_replace() with \ref MDBX_CURRENT + \ref MDBX_NOOVERWRITE and the `old_value` parameter filled with the value that wanna to delete and `new_data = NULL`| Deletion or \ref MDBX_NOTFOUND if no such key-value pair|
|
||||
|Delete one value at the current cursor position|\ref mdbx_cursor_del() with \ref MDBX_CURRENT flag|Deletion only the current entry|
|
||||
|Delete all values of key at the current cursor position|\ref mdbx_cursor_del() with with \ref MDBX_ALLDUPS flag|Deletion all duplicates of key (all multi-values) at the current cursor position|
|
||||
|Delete all values of key at the current cursor position|\ref mdbx_cursor_del() with \ref MDBX_ALLDUPS flag|Deletion all duplicates of key (all multi-values) at the current cursor position|
|
||||
|
||||
\defgroup c_cursors Cursors
|
||||
\defgroup c_statinfo Statistics & Information
|
||||
@@ -1470,7 +1470,7 @@ typedef enum MDBX_env_flags {
|
||||
* \ref mdbx_env_set_syncbytes() and \ref mdbx_env_set_syncperiod() functions
|
||||
* could be very useful with `MDBX_SAFE_NOSYNC` flag.
|
||||
*
|
||||
* The number and volume of of disk IOPs with MDBX_SAFE_NOSYNC flag will
|
||||
* The number and volume of disk IOPs with MDBX_SAFE_NOSYNC flag will
|
||||
* exactly the as without any no-sync flags. However, you should expect a
|
||||
* larger process's [work set](https://bit.ly/2kA2tFX) and significantly worse
|
||||
* a [locality of reference](https://bit.ly/2mbYq2J), due to the more
|
||||
@@ -2176,7 +2176,7 @@ typedef enum MDBX_option {
|
||||
* for all processes interacting with the database.
|
||||
*
|
||||
* \details This defines the number of slots in the lock table that is used to
|
||||
* track readers in the the environment. The default is about 100 for 4K
|
||||
* track readers in the environment. The default is about 100 for 4K
|
||||
* system page size. Starting a read-only transaction normally ties a lock
|
||||
* table slot to the current thread until the environment closes or the thread
|
||||
* exits. If \ref MDBX_NOSTICKYTHREADS is in use, \ref mdbx_txn_begin()
|
||||
@@ -3753,7 +3753,7 @@ mdbx_limits_txnsize_max(intptr_t pagesize);
|
||||
* \ingroup c_settings
|
||||
*
|
||||
* \details This defines the number of slots in the lock table that is used to
|
||||
* track readers in the the environment. The default is about 100 for 4K system
|
||||
* track readers in the environment. The default is about 100 for 4K system
|
||||
* page size. Starting a read-only transaction normally ties a lock table slot
|
||||
* to the current thread until the environment closes or the thread exits. If
|
||||
* \ref MDBX_NOSTICKYTHREADS is in use, \ref mdbx_txn_begin() instead ties the
|
||||
@@ -6157,7 +6157,7 @@ LIBMDBX_API int mdbx_dbi_sequence(MDBX_txn *txn, MDBX_dbi dbi, uint64_t *result,
|
||||
* This returns a comparison as if the two data items were keys in the
|
||||
* specified table.
|
||||
*
|
||||
* \warning There ss a Undefined behavior if one of arguments is invalid.
|
||||
* \warning There is a Undefined behavior if one of arguments is invalid.
|
||||
*
|
||||
* \param [in] txn A transaction handle returned by \ref mdbx_txn_begin().
|
||||
* \param [in] dbi A table handle returned by \ref mdbx_dbi_open().
|
||||
@@ -6182,7 +6182,7 @@ mdbx_get_keycmp(MDBX_db_flags_t flags);
|
||||
* This returns a comparison as if the two items were data items of the
|
||||
* specified table.
|
||||
*
|
||||
* \warning There ss a Undefined behavior if one of arguments is invalid.
|
||||
* \warning There is a Undefined behavior if one of arguments is invalid.
|
||||
*
|
||||
* \param [in] txn A transaction handle returned by \ref mdbx_txn_begin().
|
||||
* \param [in] dbi A table handle returned by \ref mdbx_dbi_open().
|
||||
|
||||
Reference in New Issue
Block a user