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
Joe Martin
OpenLDAP
Commits
e648bdc2
Commit
e648bdc2
authored
Sep 18, 2014
by
Quanah Gibson-Mount
Browse files
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
parents
43bd1468
62e4eeb7
Changes
1
Show whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
e648bdc2
...
@@ -2626,6 +2626,7 @@ mdb_txn_begin(MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **ret)
...
@@ -2626,6 +2626,7 @@ mdb_txn_begin(MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **ret)
if
(
!
(
flags
&
MDB_RDONLY
))
{
if
(
!
(
flags
&
MDB_RDONLY
))
{
if
(
!
parent
)
{
if
(
!
parent
)
{
txn
=
env
->
me_txn0
;
txn
=
env
->
me_txn0
;
txn
->
mt_flags
=
0
;
goto
ok
;
goto
ok
;
}
}
size
+=
env
->
me_maxdbs
*
sizeof
(
MDB_cursor
*
);
size
+=
env
->
me_maxdbs
*
sizeof
(
MDB_cursor
*
);
...
...
Write
Preview
Markdown
is supported
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