mapbox/mapbox-studio — pull request #606 by yhahn (2014-08-04 04:34:00+00:00)
Title: Use rename rather than unlink for a safer dbcompact

Much lower chance of losing data if process crashes in the middle of a compact operation.