mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:44:12 +08:00
mdbx: fix minor typos.
Change-Id: Ib0c62eace9c766844a3f44124b525a3c6373c620
This commit is contained in:
parent
72c944974a
commit
497aa53e28
2
mdbx.h
2
mdbx.h
@ -1070,7 +1070,7 @@ LIBMDBX_API const char *mdbx_dump_val(const MDBX_val *key, char *const buf,
|
||||
* This flag may be changed at any time using mdbx_env_set_flags(). */
|
||||
#define MDBX_LIFORECLAIM 0x4000000u
|
||||
|
||||
/* Debuging option, fill/perturb released pages. */
|
||||
/* Debugging option, fill/perturb released pages. */
|
||||
#define MDBX_PAGEPERTURB 0x8000000u
|
||||
|
||||
/**** SYNC MODES ***************************************************************
|
||||
|
@ -1166,7 +1166,7 @@ MDBX_INTERNAL_FUNC void mdbx_rthc_thread_dtor(void *ptr);
|
||||
/* Internal error codes, not exposed outside libmdbx */
|
||||
#define MDBX_NO_ROOT (MDBX_LAST_ERRCODE + 10)
|
||||
|
||||
/* Debuging output value of a cursor DBI: Negative in a sub-cursor. */
|
||||
/* Debugging output value of a cursor DBI: Negative in a sub-cursor. */
|
||||
#define DDBI(mc) \
|
||||
(((mc)->mc_flags & C_SUB) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)
|
||||
|
||||
|
@ -35,7 +35,7 @@ enum actor_testcase {
|
||||
|
||||
enum actor_status {
|
||||
as_unknown,
|
||||
as_debuging,
|
||||
as_debugging,
|
||||
as_running,
|
||||
as_successful,
|
||||
as_killed,
|
||||
|
@ -413,7 +413,7 @@ int osal_actor_poll(mdbx_pid_t &pid, unsigned timeout) {
|
||||
else if (WIFSIGNALED(status))
|
||||
childs[pid] = as_killed;
|
||||
else if (WIFSTOPPED(status))
|
||||
childs[pid] = as_debuging;
|
||||
childs[pid] = as_debugging;
|
||||
else if (WIFCONTINUED(status))
|
||||
childs[pid] = as_running;
|
||||
else {
|
||||
|
@ -343,7 +343,7 @@ actor_status osal_actor_info(const mdbx_pid_t pid) {
|
||||
break;
|
||||
case EXCEPTION_BREAKPOINT:
|
||||
case EXCEPTION_SINGLE_STEP:
|
||||
status = as_debuging;
|
||||
status = as_debugging;
|
||||
break;
|
||||
case STATUS_CONTROL_C_EXIT:
|
||||
status = as_killed;
|
||||
|
@ -47,8 +47,8 @@ const char *status2str(actor_status status) {
|
||||
default:
|
||||
assert(false);
|
||||
return "?!";
|
||||
case as_debuging:
|
||||
return "debuging";
|
||||
case as_debugging:
|
||||
return "debugging";
|
||||
case as_running:
|
||||
return "running";
|
||||
case as_successful:
|
||||
|
Loading…
x
Reference in New Issue
Block a user