X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBM%2FDeep%2FEngine.pm;h=8f172b3f54cfdf4e02ff4e616d00027aab6bb874;hb=d451590fa2f8cd39f6b553cab5237bbfdad6e812;hp=6524561ab2cbcea17b8d54957b12ad53ec0bd7cb;hpb=d7f031fc4aa76320200b9ad047152a836abdc628;p=dbsrgits%2FDBM-Deep.git diff --git a/lib/DBM/Deep/Engine.pm b/lib/DBM/Deep/Engine.pm index 6524561..8f172b3 100644 --- a/lib/DBM/Deep/Engine.pm +++ b/lib/DBM/Deep/Engine.pm @@ -754,6 +754,10 @@ sub flush { $self->storage->print_at( $offset, $self->sector_cache->{$offset} ); } + # Why do we need to have the storage flush? Shouldn't autoflush take care of things? + # -RobK, 2008-06-26 + $self->storage->flush; + $self->clear_dirty_sectors; $self->clear_sector_cache;