aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdbmopen.c')
-rw-r--r--src/gdbmopen.c5
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");

Return to:

Send suggestions and report system problems to the System administrator.