diff options
Diffstat (limited to 'src/gdbmopen.c')
-rw-r--r-- | src/gdbmopen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gdbmopen.c b/src/gdbmopen.c index b8b14e3..a45cb04 100644 --- a/src/gdbmopen.c +++ b/src/gdbmopen.c @@ -110,6 +110,9 @@ gdbm_open (const char *file, int block_size, int flags, int mode, dbf->file_locking = TRUE; /* Default to doing file locking. */ dbf->central_free = FALSE; /* Default to not using central_free. */ dbf->coalesce_blocks = FALSE; /* Default to not coalescing blocks. */ + + dbf->need_recovery = FALSE; + dbf->last_error = GDBM_NO_ERROR; /* GDBM_FAST used to determine whether or not we set fast_write. */ if (flags & GDBM_SYNC) |