Leonid Yuriev
|
327e5feb97
|
mdbx-windows: one more fix build for Windows/SDK pair.
Change-Id: Ifa480703b153625d0fa96a15d70bd0c452352cb6
|
2019-08-29 23:48:51 +03:00 |
|
Leonid Yuriev
|
137d652d77
|
mdbx: refine attribute-based macros.
|
2019-08-25 04:37:15 +03:00 |
|
Leonid Yuriev
|
7780b76cf0
|
mdbx: fix internal typo.
Change-Id: Ib31e8f02d816758a66b5e6b260714e25648f66c2
|
2019-08-25 04:36:30 +03:00 |
|
Leonid Yuriev
|
93f82f47bd
|
mdbx: refine setup_debug(), add MDBX_DBG_LEGACY_MULTIOPEN.
Change-Id: I5d144f6fa27b8f5885fa0a0fbd11fe1d44bcc41c
|
2019-08-25 04:36:28 +03:00 |
|
Leonid Yuriev
|
4ceaf842fe
|
mdbx: add timed auto-sync feature.
Change-Id: Ia9b8529fda321d5f78b306f270d157a78f708916
|
2019-08-23 13:13:20 +03:00 |
|
Leonid Yuriev
|
e04bfc05fa
|
mdbx: rename MDBX_OSX_SPEED_INSTEADOF_DURABILITY option.
Change-Id: I1d0a05880507da0781ccd2bff5fa68610ad884a9
|
2019-08-20 15:04:52 +03:00 |
|
Leonid Yuriev
|
6f0a11f155
|
mdbx: merge branch 'osx-try'.
This resolves https://github.com/leo-yuriev/libmdbx/issues/49.
Change-Id: Ib20c3898e99ca229f10e7d41cda3989b8b4a832c
|
2019-08-20 03:18:31 +03:00 |
|
Leonid Yuriev
|
657d37c9e3
|
mdbx: add MDBX_OSX_SPEED_OR_DURABILITY build-time #define for MacOS.
|
2019-08-20 02:48:30 +03:00 |
|
Leonid Yuriev
|
ccbf3a2bcf
|
mdbx: rework mdbx_filesync().
|
2019-08-20 00:56:06 +03:00 |
|
Leonid Yuriev
|
261f697d8c
|
mdbx: skip msync(MS_ASYNC) on Linux > 2.6.19.
Change-Id: Ic1f631ef856a09cf62353c2b0092b0341ecf4fa2
|
2019-08-19 21:31:23 +03:00 |
|
Leonid Yuriev
|
226cb3ac90
|
mdbx: use F_FULLFSYNC on MacOS.
|
2019-08-19 20:41:02 +03:00 |
|
Leonid Yuriev
|
91088af935
|
mdbx: initial OSX support.
|
2019-08-13 02:10:03 +03:00 |
|
Leonid Yuriev
|
bf0e0382fc
|
mdbx: use O_DIRECT for db-copy.
Change-Id: Ib17fcdc2eba3382ed841a1e5e0a4f69f88c2491d
|
2019-08-11 01:14:52 +03:00 |
|
Leonid Yuriev
|
41f00485fd
|
mdbx: portability - allows operation without mremap().
Change-Id: I7fed42d51259e582e9dbc401c78f7f829a80f71c
|
2019-07-14 15:11:59 +03:00 |
|
Leonid Yuriev
|
097b274aa4
|
mdbx: portability - use C11 aligned_alloc().
Change-Id: I61819614ce355c8a2597c9b26997458b3d16081c
|
2019-07-14 15:07:54 +03:00 |
|
Leonid Yuriev
|
8f7ea1844b
|
mddx: portability - compatibility with BSD-style __assert().
Change-Id: Ic18f2de8a23597c62fab07041aeb62960e82c37a
|
2019-07-14 15:07:47 +03:00 |
|
Leonid Yuriev
|
6960c45e59
|
mdbx: avoids EFAULT "Bad address" while copy-as-is if DB is swapped-out from RAM.
Change-Id: I711efc1c54a04745bd561bc5e1db5e6f6d8b7115
|
2019-07-01 17:55:58 +03:00 |
|
Leonid Yuriev
|
38110579ba
|
mdbx: drops mdbx_write(), using mdbx_pwrite() instead of.
Change-Id: Iff3de2d5ef3fa2e92607d46b96d4526e464e593b
|
2019-07-01 16:39:18 +03:00 |
|
Leonid Yuriev
|
5b88fe819c
|
mdbx: fix pwrite() for WRITE_MAX.
Change-Id: If4924d20c1e267c2d3a190c860b89fc2fda0d517
|
2019-06-24 02:14:50 +03:00 |
|
Leo Yuriev
|
7d383350e8
|
mdbx: workaround for musl-libc __assert_fail() prototype bug.
|
2019-03-04 14:41:50 +03:00 |
|
Leo Yuriev
|
9ffd17d58b
|
mdbx: refine mdbx_filesync() to avoid hide fdatasync() error.
|
2019-03-04 13:53:05 +03:00 |
|
Leo Yuriev
|
9f410597df
|
mdbx: checking only _POSIX_SYNCHRONIZED_IO for fdatasync (musl).
|
2019-03-04 13:39:33 +03:00 |
|
Leo Yuriev
|
cca2c91058
|
mdbx: don't check __GLIBC_PREREQ/_BSD_SOURCE/_XOPEN_SOURCE for use fsync (musl).
|
2019-03-04 13:34:38 +03:00 |
|
Leo Yuriev
|
9cc9116df3
|
mdbx: 2019 HNY.
Change-Id: Iec6b7affedef0ea89fad917eb17af7e8201a7482
|
2019-02-03 12:28:01 +03:00 |
|
Leonid Yuriev
|
624968b74c
|
mdbx-windows: use SetFileInformationByHandle() when available.
Change-Id: I27d9d4271d4328947ad68cdf30af61a31978b4f9
|
2018-12-28 13:53:57 +03:00 |
|
Leonid Yuriev
|
629637d95e
|
mdbx-osal: add mdbx_fseek().
Change-Id: I5744aa3ba51bd1acaeedd866e6b21a1330c3f711
|
2018-11-04 20:34:16 +03:00 |
|
Leonid Yuriev
|
5400ef6512
|
mdbx-windows: fix mdbx_assert_fail().
|
2018-10-21 20:27:49 +03:00 |
|
Leonid Yuriev
|
718f997502
|
mdbx-windows: workaround for Windows10 bugs.
This resolves https://github.com/leo-yuriev/libmdbx/issues/47
|
2018-10-21 20:27:49 +03:00 |
|
Leonid Yuriev
|
ecf214ca04
|
mdbx-windows: add MDBX_AVOID_CRT.
Change-Id: I08233d777b318037372ec250c754f093b3047c94
|
2018-10-19 15:16:33 +03:00 |
|
Leonid Yuriev
|
96491db229
|
mdbx-windows: building and linking mdbx_ntdll_extra.lib
15 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43
Change-Id: I6241d08f14dcd59c6c55aa26660bdec233fb3c94
|
2018-10-14 15:03:17 +03:00 |
|
Leonid Yuriev
|
cad9cea33b
|
mdbx-windows: use _wcsnicmp() instead of wcsnicmp() to avoid dependency from CRT.
13 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43
Change-Id: I880433ddaf364a7e2b5de104ccf8689b93754ec5
|
2018-10-14 15:00:43 +03:00 |
|
Leonid Yuriev
|
e229dbe9dc
|
mdbx-windows: add mdbx_strdup() to avoid dependency from CRT.
12 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43
Change-Id: Ib1379d75dc25e34f56daf8988848c41f59b6cd6b
|
2018-10-14 15:00:16 +03:00 |
|
Leonid Yuriev
|
b47badb3ee
|
mdbx-windows: rework mdbx_memalign_alloc()/mdbx_memalign_free() to avoid dependency from CRT.
11 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43
Change-Id: Id1a76f88588251cab9a93aa9753021b30159b09a
|
2018-10-14 14:59:37 +03:00 |
|
Leonid Yuriev
|
f49741b4f8
|
mdbx-windows: refine mdbx_vasprintf() to avoid dependency from CRT.
10 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43
Change-Id: I95c4583c27503eb4e9221b212b34474dfb561e6d
|
2018-10-14 14:59:09 +03:00 |
|
Leonid Yuriev
|
ded5269937
|
mdbx-windows: rework mdbx_assert_fail() and mdbx_panic() to avoid dependency from CRT.
7 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43
Change-Id: I40dc8d6a7d1d955c13c7d328ee904f0e6f30b248
|
2018-10-14 14:57:03 +03:00 |
|
Leonid Yuriev
|
ae2875e248
|
mdbx: avoid on-stack allocation/chkstk inside mdbx_check4nonlocal().
6 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43
Change-Id: Ib55a27c4859ff25e5b779a4514cd2e625ab99013
|
2018-10-14 14:56:32 +03:00 |
|
Leonid Yuriev
|
ace3d1bfa3
|
mdbx: add mdbx_malloc/mdbx_free, etc.
1 of 17 for https://github.com/leo-yuriev/libmdbx/issues/43
Change-Id: Ia5204be9f943fefde42e6a46e652c1be6ab6a96b
|
2018-10-14 14:53:40 +03:00 |
|
Leonid Yuriev
|
c9e3dc373b
|
mdbx-windows: more for WindowsXP support.
Change-Id: Ide34048720989fc010f48e086569e12e8c1edca1
|
2018-10-08 02:18:32 +03:00 |
|
Leonid Yuriev
|
83f3d820f1
|
mdbx-windows: refine debug-logging.
|
2018-10-08 02:17:27 +03:00 |
|
Leo Yuriev
|
797bcf9aca
|
mdbx: add mdbx_removefile().
Change-Id: I985926bdef28387d5872317a3ecf47953ce4812c
|
2018-06-30 14:56:28 +03:00 |
|
Leonid Yuriev
|
b57c3b2503
|
mdbx: check for non-local files in non-exclusive mode.
Change-Id: Ibd1bbf48aba42d5ed736069d59b18ac0dd143554
|
2018-06-20 13:52:08 +03:00 |
|
Leo Yuriev
|
0dfa9cd09a
|
mdbx: add MDBX_EXCLUSIVE instead of mdbx_env_open_ex().
Change-Id: I3c817d58d971385bcd07643df14beaf7122c7836
|
2018-06-20 13:52:02 +03:00 |
|
Leo Yuriev
|
09ad941a05
|
mdbx: Windows XP compatibility.
Change-Id: Iafe3a83110610071e42a168ef9fc5f8d3131854f
|
2018-06-20 13:47:14 +03:00 |
|
Leo Yuriev
|
28eda32c12
|
mdbx: split-out mdbx_is_file_local().
Change-Id: Ib7d990c4ce19d9b14a4b6739ca321d9d2666c882
|
2018-06-20 13:47:14 +03:00 |
|
Leo Yuriev
|
685abc7bcb
|
mdbx: more/again reformat by clang-format 6.0 (cosmetic).
Change-Id: I769ee5a80d75a49fc5bb041fefda6f22adc05424
|
2018-06-20 13:45:11 +03:00 |
|
Leo Yuriev
|
9db090087e
|
mdbx: reformat by clang-format 6.0 (cosmetic).
|
2018-06-18 21:29:12 +03:00 |
|
Leo Yuriev
|
f314cd6b92
|
mdbx: windows - fix truncation race while unmap.
Change-Id: I93983d100c78aa3e57c5a7ebd9d5bf2a96081ed7
|
2018-06-15 02:54:41 +03:00 |
|
Leo Yuriev
|
571b50622e
|
mdbx: restore workaround for glibc's bug #21031.
Workaround for https://sourceware.org/bugzilla/show_bug.cgi?id=21031
Change-Id: I6cf9e037cc2fc298096b78ec96773f19478ed5c0
|
2018-04-03 17:44:18 +03:00 |
|
Leo Yuriev
|
a93fafceff
|
mdbx: strip utf8-bom for Elbrus (minor).
Change-Id: I9030abe267c4abfa2c5c2deb439c0b8025b83047
|
2018-03-07 12:09:43 +03:00 |
|
Leo Yuriev
|
72557af2b5
|
mdbx: HNY!
Change-Id: I2a91b986964d96bb3e5f848e3c17408bd7745866
|
2018-02-04 13:10:54 +03:00 |
|