Silence error callback during from BDB during environment open
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 2 Mar 2011 06:28:35 +0000 (08:28 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 2 Mar 2011 06:32:18 +0000 (08:32 +0200)
commitcc85e646585be90d3b06c8de941d7e190e8fd538
tree39bbc598902e9a282ab598633787b9c6ad505ab7
parent115717d96fac59cbc020e2f82459b4b68cadac14
Silence error callback during from BDB during environment open
- EACCES from actually opening the environment is returned only
  through dbenv->open() return code, but annoyingly the EACCESS
  from trying to create a missing environment is "leaked" to the
  errcall, causing pesky "permission denied" errors for regular users
  if the environment doesn't (yet) exist. Enable errcall in time
  for dbenv->failchk() though to get all the details if something
  goes wrong there.
lib/backend/db3.c