44
55#define xMDBX_ALLOY 1 /* alloyed build */
66
7- #define MDBX_BUILD_SOURCERY 3d0786aca27f270572b5c0bfe28f74832e60f52ff9ca5510d3449b4e443d594b_v0_14_1_256_g6e4093ad
7+ #define MDBX_BUILD_SOURCERY d576188875dd0d162f204a2362504e7e6ec4c3e9bea82b719ae9c6c666b29d47_v0_14_1_264_g969bcd96
88
99#define LIBMDBX_INTERNALS
1010#define MDBX_DEPRECATED
@@ -1214,24 +1214,7 @@ typedef struct osal_mmap {
12141214
12151215#define MDBX_HAVE_PWRITEV 0
12161216
1217- MDBX_INTERNAL int osal_ntstatus2errcode(NTSTATUS status);
1218-
1219- static inline int osal_waitstatus2errcode(DWORD result) {
1220- switch (result) {
1221- case WAIT_OBJECT_0:
1222- return MDBX_SUCCESS;
1223- case WAIT_FAILED:
1224- return (int)GetLastError();
1225- case WAIT_ABANDONED:
1226- return ERROR_ABANDONED_WAIT_0;
1227- case WAIT_IO_COMPLETION:
1228- return ERROR_USER_APC;
1229- case WAIT_TIMEOUT:
1230- return ERROR_TIMEOUT;
1231- default:
1232- return osal_ntstatus2errcode(result);
1233- }
1234- }
1217+ MDBX_INTERNAL int osal_waitstatus2errcode(DWORD result);
12351218
12361219#elif defined(__ANDROID_API__)
12371220
@@ -28991,7 +28974,7 @@ __hot struct node_search_result node_search(MDBX_cursor *mc, const MDBX_val *key
2899128974#endif
2899228975
2899328976/* Map a result from an NTAPI call to WIN32 error code. */
28994- MDBX_INTERNAL int osal_ntstatus2errcode(NTSTATUS status) {
28977+ static int osal_ntstatus2errcode(NTSTATUS status) {
2899528978 DWORD dummy;
2899628979 OVERLAPPED ov;
2899728980 memset(&ov, 0, sizeof(ov));
@@ -29001,6 +28984,23 @@ MDBX_INTERNAL int osal_ntstatus2errcode(NTSTATUS status) {
2900128984 return GetOverlappedResult(nullptr, &ov, &dummy, FALSE) ? MDBX_SUCCESS : (int)GetLastError();
2900228985}
2900328986
28987+ MDBX_INTERNAL int osal_waitstatus2errcode(DWORD result) {
28988+ switch (result) {
28989+ case WAIT_OBJECT_0:
28990+ return MDBX_SUCCESS;
28991+ case WAIT_FAILED:
28992+ return (int)GetLastError();
28993+ case WAIT_ABANDONED:
28994+ return ERROR_ABANDONED_WAIT_0;
28995+ case WAIT_IO_COMPLETION:
28996+ return ERROR_USER_APC;
28997+ case WAIT_TIMEOUT:
28998+ return ERROR_TIMEOUT;
28999+ default:
29000+ return osal_ntstatus2errcode(result);
29001+ }
29002+ }
29003+
2900429004/* We use native NT APIs to setup the memory map, so that we can
2900529005 * let the DB file grow incrementally instead of always preallocating
2900629006 * the full size. These APIs are defined in <wdm.h> and <ntifs.h>
@@ -40428,10 +40428,10 @@ __dll_export
4042840428 0,
4042940429 14,
4043040430 1,
40431- 256 ,
40431+ 264 ,
4043240432 "", /* pre-release suffix of SemVer
40433- 0.14.1.256 */
40434- {"2026-01-07T15:15:51 +03:00", "62e44b0432d3caeb13be585a6e41c2243e35fcaf ", "6e4093ad3749c0d46f3585ef38c3a7260e5b2dd8 ", "v0.14.1-256-g6e4093ad "},
40433+ 0.14.1.264 */
40434+ {"2026-01-09T16:54:33 +03:00", "f7ef345256fff61b5ed5f9b85768711e47f1e173 ", "969bcd969758df849eb4453b2d022bca545adf8f ", "v0.14.1-264-g969bcd96 "},
4043540435 sourcery};
4043640436
4043740437__dll_export
0 commit comments