diff options
author | Tomi Ollila <tomi.ollila@iki.fi> | 2013-11-15 00:03:25 +0200 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2013-11-19 20:13:25 -0400 |
commit | cb6cc296e27fdab85faa4bdd670eda2e0c53b8c2 (patch) | |
tree | 3071c6690727608d16722dfa52c969a71e51494f /parse-time-string | |
parent | 19a89753ca20b269a131e747238925cce254c627 (diff) |
compact: preserve backup database until compacted database is in place
It is less error prone and window of failure opportunity is smaller
if the old (backup) database is always renamed (instead of sometimes
rmtree'd) before new (compacted) database is put into its place.
Finally rmtree() old database in case old database backup is not kept.
Diffstat (limited to 'parse-time-string')
0 files changed, 0 insertions, 0 deletions