mdbx: добавление опции MDBX_CP_OVERWRITE в API копирования БД.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2025-07-10 21:55:12 +03:00
parent fa73f44ff0
commit ba6ce86d5f
4 changed files with 28 additions and 20 deletions

View File

@@ -446,8 +446,9 @@ enum osal_openfile_purpose {
MDBX_OPEN_DXB_OVERLAPPED_DIRECT,
#endif /* Windows */
MDBX_OPEN_LCK,
MDBX_OPEN_COPY,
MDBX_OPEN_DELETE
MDBX_OPEN_DELETE,
MDBX_OPEN_COPY_EXCL,
MDBX_OPEN_COPY_OVERWRITE,
};
MDBX_MAYBE_UNUSED static inline bool osal_isdirsep(pathchar_t c) {