Group chk
Classes
| Type | Name |
|---|---|
| struct | MDBX_chk_callbacks_t A set of callback functions used for checking the integrity of a database. |
| struct | MDBX_chk_context_t The context for checking the integrity of a database. |
| struct | MDBX_chk_context_t.result |
| struct | MDBX_chk_histogram A histogram with some statistical information collected during a database integrity check. |
| struct | MDBX_chk_histogram.ranges |
| struct | MDBX_chk_issue_t An issue was discovered during a database integrity check. |
| struct | MDBX_chk_line_t A virtual row of the report generated during a database integrity check. |
| struct | MDBX_chk_scope_t A hierarchical context during a database integrity check. |
| struct | MDBX_chk_table_t Information about a certain key-value table during a database integrity check. |
| struct | MDBX_chk_table_t.histogram |
| struct | MDBX_chk_table_t.pages |
Public Types
| Type | Name |
|---|---|
| union | MDBX_chk_scope_t.usr_o |
| union | MDBX_chk_scope_t.usr_v |
| union | MDBX_chk_scope_t.usr_z |
Public Functions
| Type | Name |
|---|---|
| LIBMDBX_API int | mdbx_env_turn_for_recovery (MDBX_env * env, unsigned target_meta) Turn database to the specified meta-page. |
Macros
| Type | Name |
|---|---|
| define | mdbx_env_open_for_recoveryT (env, pathname, target_mets, writeable) [**mdbx\_env\_open\_for\_recoveryW**](group__c__extra.md#function-mdbx_env_open_for_recoveryw)(env, pathname, target\_mets, writeable) |
| define | mdbx_preopen_snapinfoT (pathname, info, bytes) [**mdbx\_preopen\_snapinfoW**](group__c__opening.md#function-mdbx_preopen_snapinfow)(pathname, info, bytes) |
Detailed Description
Basically this is internal API for mdbx_chk tool, etc. You should avoid to use it, except some extremal special cases.
Public Types Documentation
union MDBX_chk_scope_t.usr_o
union MDBX_chk_scope_t.usr_v
union MDBX_chk_scope_t.usr_z
Public Functions Documentation
function mdbx_env_turn_for_recovery
Turn database to the specified meta-page.
LIBMDBX_API int mdbx_env_turn_for_recovery (
MDBX_env * env,
unsigned target_meta
)
This function mostly of internal API for mdbx_chk utility and subject to change at any time. Do not use this function to avoid shooting your own leg(s).
Macro Definition Documentation
define mdbx_env_open_for_recoveryT
#define mdbx_env_open_for_recoveryT (
env,
pathname,
target_mets,
writeable
) `mdbx_env_open_for_recoveryW (env, pathname, target_mets, writeable)`
define mdbx_preopen_snapinfoT
#define mdbx_preopen_snapinfoT (
pathname,
info,
bytes
) `mdbx_preopen_snapinfoW (pathname, info, bytes)`