diff options
Diffstat (limited to 'src/gdbmopen.c')
-rw-r--r-- | src/gdbmopen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gdbmopen.c b/src/gdbmopen.c index 440acfc..cb7950b 100644 --- a/src/gdbmopen.c +++ b/src/gdbmopen.c @@ -578,6 +578,11 @@ gdbm_fd_open (int fd, const char *file_name, int block_size, dbf->bucket_changed = FALSE; dbf->second_changed = FALSE; + if (flags & GDBM_XVERIFY) + { + gdbm_avail_verify (dbf); + } + GDBM_DEBUG (GDBM_DEBUG_ALL, "%s: opened %s", dbf->name, dbf->need_recovery ? "for recovery" : "successfully"); |