]> git.sur5r.net Git - openldap/commit
ITS#7515 Fix mdb_txn_commit(nested txn).
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 19 Feb 2013 21:03:41 +0000 (22:03 +0100)
committerHoward Chu <hyc@symas.com>
Wed, 20 Feb 2013 02:44:10 +0000 (18:44 -0800)
commit208e5c614dcbb67ac276f45aa7ebabf63565c53c
tree99a759cfd4a594f6abae037983bd9a28e26ac7a1
parentf43ae20be7cb1b45b9a4156a32e6fdcefbe4f63d
ITS#7515 Fix mdb_txn_commit(nested txn).

Don't modify the parent txn until the current txn cannot fail.
Don't assume new dirty child pgnos > dirty parent pgnos.

Page alloc/touch: Fail if child+parent dirty pages would exceed
dirty_list's maxsize. Avoids an error situation in commit.
libraries/liblmdb/mdb.c