mirror of
https://github.com/isar/libmdbx.git
synced 2025-12-27 08:42:23 +08:00
mdbx-test: use mdbx_env_delete() in a test and drop aux functions.
Change-Id: I3b0e409c23067abcaefd4f9c5627df804382b348
This commit is contained in:
@@ -452,12 +452,4 @@ std::string osal_tempdir(void) {
|
||||
return std::string(buf, len);
|
||||
}
|
||||
|
||||
int osal_removefile(const std::string &pathname) {
|
||||
return DeleteFileA(pathname.c_str()) ? MDBX_SUCCESS : GetLastError();
|
||||
}
|
||||
|
||||
int osal_removedirectory(const std::string &pathname) {
|
||||
return RemoveDirectoryA(pathname.c_str()) ? MDBX_SUCCESS : GetLastError();
|
||||
}
|
||||
|
||||
#endif /* Windows */
|
||||
|
||||
Reference in New Issue
Block a user