]> git.sur5r.net Git - openldap/commit
Check DB flags when refreshing a stale MDB DBI.
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 19 Feb 2013 21:02:37 +0000 (22:02 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 19 Feb 2013 21:02:37 +0000 (22:02 +0100)
commitf97552a83abb085bc44b1b578e550d64c1313a4b
treed0ada1ea157398c537d36d8d3cc5aca225afb30f
parent2dbb8bb833f8495f3638900ca8aaad67e8817658
Check DB flags when refreshing a stale MDB DBI.

It's hairy to figure out when a DBI is valid. Catch destructive
user errors, and flags which another process changed under us.
libraries/liblmdb/lmdb.h
libraries/liblmdb/mdb.c