mdbx-test: use mdbx_env_delete() in a test and drop aux functions.

Change-Id: I3b0e409c23067abcaefd4f9c5627df804382b348
This commit is contained in:
Leonid Yuriev
2020-10-10 00:59:12 +03:00
parent 0627d902dd
commit 9afbde9b0a
5 changed files with 4 additions and 37 deletions

View File

@@ -531,12 +531,4 @@ std::string osal_tempdir(void) {
return "";
}
int osal_removefile(const std::string &pathname) {
return unlink(pathname.c_str()) ? errno : MDBX_SUCCESS;
}
int osal_removedirectory(const std::string &pathname) {
return rmdir(pathname.c_str()) ? errno : MDBX_SUCCESS;
}
#endif /* !Windows */