Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
James Lowden
OpenLDAP
Commits
46de4ab8
Commit
46de4ab8
authored
11 years ago
by
Hallvard Furuseth
Browse files
Options
Downloads
Patches
Plain Diff
ITS#7665 Drop lmdb.h doc on non-overlapping flags.
It was inaccurate and misplaced. Verify it in mdb.c instead.
parent
353cc77c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/liblmdb/lmdb.h
+0
-4
0 additions, 4 deletions
libraries/liblmdb/lmdb.h
libraries/liblmdb/mdb.c
+4
-0
4 additions, 0 deletions
libraries/liblmdb/mdb.c
with
4 additions
and
4 deletions
libraries/liblmdb/lmdb.h
+
0
−
4
View file @
46de4ab8
...
@@ -263,8 +263,6 @@ typedef int (MDB_cmp_func)(const MDB_val *a, const MDB_val *b);
...
@@ -263,8 +263,6 @@ typedef int (MDB_cmp_func)(const MDB_val *a, const MDB_val *b);
typedef
void
(
MDB_rel_func
)(
MDB_val
*
item
,
void
*
oldptr
,
void
*
newptr
,
void
*
relctx
);
typedef
void
(
MDB_rel_func
)(
MDB_val
*
item
,
void
*
oldptr
,
void
*
newptr
,
void
*
relctx
);
/** @defgroup mdb_env Environment Flags
/** @defgroup mdb_env Environment Flags
*
* Values do not overlap Database Flags.
* @{
* @{
*/
*/
/** mmap at a fixed address (experimental) */
/** mmap at a fixed address (experimental) */
...
@@ -292,8 +290,6 @@ typedef void (MDB_rel_func)(MDB_val *item, void *oldptr, void *newptr, void *rel
...
@@ -292,8 +290,6 @@ typedef void (MDB_rel_func)(MDB_val *item, void *oldptr, void *newptr, void *rel
/** @} */
/** @} */
/** @defgroup mdb_dbi_open Database Flags
/** @defgroup mdb_dbi_open Database Flags
*
* Values do not overlap Environment Flags.
* @{
* @{
*/
*/
/** use reverse string keys */
/** use reverse string keys */
...
...
This diff is collapsed.
Click to expand it.
libraries/liblmdb/mdb.c
+
4
−
0
View file @
46de4ab8
...
@@ -4011,6 +4011,10 @@ fail:
...
@@ -4011,6 +4011,10 @@ fail:
#define CHANGELESS (MDB_FIXEDMAP|MDB_NOSUBDIR|MDB_RDONLY|MDB_WRITEMAP| \
#define CHANGELESS (MDB_FIXEDMAP|MDB_NOSUBDIR|MDB_RDONLY|MDB_WRITEMAP| \
MDB_NOTLS|MDB_NOLOCK|MDB_NORDAHEAD)
MDB_NOTLS|MDB_NOLOCK|MDB_NORDAHEAD)
#if VALID_FLAGS & PERSISTENT_FLAGS & (CHANGEABLE|CHANGELESS)
# error "Persistent DB flags & env flags overlap, but both go in mm_flags"
#endif
int
int
mdb_env_open
(
MDB_env
*
env
,
const
char
*
path
,
unsigned
int
flags
,
mdb_mode_t
mode
)
mdb_env_open
(
MDB_env
*
env
,
const
char
*
path
,
unsigned
int
flags
,
mdb_mode_t
mode
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment