Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
99730069
Commit
99730069
authored
Feb 18, 2021
by
Quanah Gibson-Mount
Browse files
ITS#9469 - Typo fixes
parent
e9166d02
Changes
2
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/lmdb.h
View file @
99730069
...
@@ -652,7 +652,7 @@ int mdb_env_create(MDB_env **env);
...
@@ -652,7 +652,7 @@ int mdb_env_create(MDB_env **env);
* <li>#MDB_NOTLS
* <li>#MDB_NOTLS
* Don't use Thread-Local Storage. Tie reader locktable slots to
* Don't use Thread-Local Storage. Tie reader locktable slots to
* #MDB_txn objects instead of to threads. I.e. #mdb_txn_reset() keeps
* #MDB_txn objects instead of to threads. I.e. #mdb_txn_reset() keeps
* the slot reseved for the #MDB_txn object. A thread may use parallel
* the slot rese
r
ved for the #MDB_txn object. A thread may use parallel
* read-only transactions. A read-only transaction may span threads if
* read-only transactions. A read-only transaction may span threads if
* the user synchronizes its use. Applications that multiplex many
* the user synchronizes its use. Applications that multiplex many
* user threads over individual OS threads need this option. Such an
* user threads over individual OS threads need this option. Such an
...
@@ -1020,7 +1020,7 @@ void *mdb_env_get_userctx(MDB_env *env);
...
@@ -1020,7 +1020,7 @@ void *mdb_env_get_userctx(MDB_env *env);
typedef
void
MDB_assert_func
(
MDB_env
*
env
,
const
char
*
msg
);
typedef
void
MDB_assert_func
(
MDB_env
*
env
,
const
char
*
msg
);
/** Set or reset the assert() callback of the environment.
/** Set or reset the assert() callback of the environment.
* Disabled if liblmdb is buil
l
t with NDEBUG.
* Disabled if liblmdb is built with NDEBUG.
* @note This hack should become obsolete as lmdb's error handling matures.
* @note This hack should become obsolete as lmdb's error handling matures.
* @param[in] env An environment handle returned by #mdb_env_create().
* @param[in] env An environment handle returned by #mdb_env_create().
* @param[in] func An #MDB_assert_func function, or 0.
* @param[in] func An #MDB_assert_func function, or 0.
...
...
libraries/liblmdb/mdb.c
View file @
99730069
...
@@ -592,7 +592,7 @@ static txnid_t mdb_debug_start;
...
@@ -592,7 +592,7 @@ static txnid_t mdb_debug_start;
* The string is printed literally, with no format processing.
* The string is printed literally, with no format processing.
*/
*/
#define DPUTS(arg) DPRINTF(("%s", arg))
#define DPUTS(arg) DPRINTF(("%s", arg))
/** Debuging output value of a cursor DBI: Negative in a sub-cursor. */
/** Debug
g
ing output value of a cursor DBI: Negative in a sub-cursor. */
#define DDBI(mc) \
#define DDBI(mc) \
(((mc)->mc_flags & C_SUB) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)
(((mc)->mc_flags & C_SUB) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)
/** @} */
/** @} */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment