summaryrefslogtreecommitdiff
path: root/db/builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'db/builder.cc')
-rw-r--r--db/builder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/builder.cc b/db/builder.cc
index 9520ee4..943e857 100644
--- a/db/builder.cc
+++ b/db/builder.cc
@@ -71,7 +71,7 @@ Status BuildTable(const std::string& dbname, Env* env, const Options& options,
if (s.ok() && meta->file_size > 0) {
// Keep it
} else {
- env->DeleteFile(fname);
+ env->RemoveFile(fname);
}
return s;
}