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
Quanah Gibson-Mount
OpenLDAP
Commits
2f62c372
Commit
2f62c372
authored
Sep 03, 2001
by
Kurt Zeilenga
Browse files
Import backwards compatibility for BDB 3.0.x
parent
3eae355b
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldbm/ldbm.c
View file @
2f62c372
...
...
@@ -272,7 +272,12 @@ DB_ENV *ldbm_initialize_env(const char *home, int dbcachesize, int *envdirok)
envFlags
|=
DB_INIT_MPOOL
|
DB_INIT_CDB
|
DB_USE_ENVIRON
;
#if DB_VERSION_MAJOR > 3 || DB_VERSION_MINOR > 0
err
=
env
->
open
(
env
,
home
,
envFlags
,
0
);
#else
/* 3.0.x requires an extra argument */
err
=
env
->
open
(
env
,
home
,
NULL
,
envFlags
,
0
);
#endif
if
(
err
!=
0
)
{
...
...
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