Leo Yuriev
|
e86bd88751
|
mdbx: disable warning #5045 for MSVC (minor).
|
2018-05-21 16:31:36 +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
|
61a2c56784
|
mdbx: fix/rework cache-line alignment.
|
2018-03-22 21:11:26 +03:00 |
|
Leo Yuriev
|
195b53374e
|
mdbx: fix #pragma pack(pop) balance.
Thanks to <Sergey.V.Barannikov@mcst.ru>.
|
2018-03-14 16:05:43 +03:00 |
|
Leo Yuriev
|
f521b6615e
|
mdbx: fix #endif's comment (cosmetics).
|
2018-03-14 15:32:32 +03:00 |
|
Leo Yuriev
|
9bbc62f5a0
|
mdbx: refine internal warnings control.
|
2018-03-14 15:16:49 +03:00 |
|
Leo Yuriev
|
8c96b1e73b
|
mdbx: fix missing MDBX_DEVEL=0.
|
2018-03-14 15:07:16 +03:00 |
|
Leo Yuriev
|
483c4abb3f
|
mdbx: remove Elbrus's alignment_reduction_ignored workaround.
|
2018-03-14 14:57:46 +03:00 |
|
Leo Yuriev
|
c267a71475
|
mdbx: workaround for "alignment-reduction-ignored" lcc's bug.
Change-Id: I000bfaffd78ef7b6e27d6178bc2a5defc32cc357
|
2018-03-07 13:59:51 +03:00 |
|
Leo Yuriev
|
a2099586ed
|
mdbx: disable -Wno-constant-logical-operand inplace.
Change-Id: I0f7745f40e3340ba6d14d985a735777667a7bdde
|
2018-03-07 13:18:30 +03:00 |
|
Leo Yuriev
|
62603aeadc
|
mdbx: add ifdef-guard for clang < 3.8
Change-Id: Iba7a90e2548056cbdf07ae471eb002da7145821c
|
2018-03-07 13:06:39 +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 |
|
Leo Yuriev
|
6a0ff097ee
|
mdbx: immediately share dbi-handles for present TBLs (major).
Change-Id: I75c998e06b3ccc25bd22ef389d119052d524d70b
|
2018-02-04 12:59:47 +03:00 |
|
Leo Yuriev
|
5cfec7a832
|
mdbx: workaround for Windows LockFileEx/WriteFile bug.
This resolves https://github.com/leo-yuriev/libmdbx/issues/25
|
2018-01-31 15:26:44 +03:00 |
|
Leo Yuriev
|
30bd7d3078
|
mdbx: shrinking memory-mapping for Windows (initial).
Change-Id: I3c3c2df0747c788ea36d7764c1e8139098ca62be
|
2018-01-08 17:47:41 +03:00 |
|
Leo Yuriev
|
fc1bbf3a4b
|
mdbx: disable 'unreachable code' for MSVC.
Change-Id: I4f9887b557885cb9a3829d19a56d332c76656cf8
|
2017-10-29 03:23:39 +03:00 |
|
Leo Yuriev
|
1a27e40701
|
mdbx: Merge branch 'fix-after-txntry'.
|
2017-10-27 14:17:43 +03:00 |
|
Leo Yuriev
|
b6f14780e3
|
mdbx: fix performance degradation in the absence of readers.
Change-Id: I59a51b61918463e68d3e0490c715f4dcc9ecb788
|
2017-10-27 13:36:10 +03:00 |
|
Leo Yuriev
|
17b8e48bf4
|
mdbx: cleanup after last pull-request.
Cleanup after 4e40af60e74143aedaa8d295f0f33a3c892a1c9b (Merge pull request #20 from rouzier/feature/txn_try).
|
2017-10-26 21:49:38 +03:00 |
|
James Rouzier
|
7c466e53f0
|
Add the ability to not block when opening a write transaction
|
2017-10-25 19:41:28 -04:00 |
|
Leo Yuriev
|
b8b3ba8e91
|
mdbx: provide configurable ascending/descending sort-order for pgno-lists.
Change-Id: I3134c100880ff28bb0aaf46ed91affc9f6347110
|
2017-07-27 16:57:52 +03:00 |
|
Leo Yuriev
|
552b759878
|
mdbx: refine pgno-lists.
Change-Id: Id38e4aff508437210d4c0e63962067dfe518eb31
|
2017-07-27 16:53:42 +03:00 |
|
Leo Yuriev
|
88ca23caa5
|
mdbx: misc refines (minor).
Change-Id: Ia58e2d75e320bbd47dd352e082cf6f41afde075f
|
2017-07-26 12:43:54 +03:00 |
|
Leo Yuriev
|
1dab822324
|
mdbx: growth/shrink datafile with alignment.
Change-Id: I46deb885654d2bb1d164009159c9364567ab88a9
|
2017-07-26 12:43:52 +03:00 |
|
Leo Yuriev
|
4f06a38a50
|
mdbx: use saturated pgno_add() to avoid overflows.
Change-Id: I70000a86a69c9b3399d0a2c345d57ca1908f2881
|
2017-07-26 12:41:52 +03:00 |
|
Leo Yuriev
|
ad48fd54fb
|
mdbx: minor refine freelist_save().
Change-Id: Ifed9b8d363d45d24c44c1b0a803dad34aada96d3
|
2017-07-26 12:09:57 +03:00 |
|
Leo Yuriev
|
242baf761f
|
mdbx: fix/rework shrinking, add MDBX_SHRINK_ALLOWED.
Change-Id: I014440850aa4be927843aa2a6a268794a4da9b2a
|
2017-07-21 13:55:21 +03:00 |
|
Leo Yuriev
|
17e8429a29
|
mdbx: rework mmap-functions for osal.
- add 'length' and 'current' fields to mmap-object;
- drop mdbx_mremap();
- do remap on-demand inside mdbx_mresize();
- add mdbx_mapresize() which re-creates Valgrind's region.
- call resize on txn-begin.
Change-Id: I82780f92c4947804e3f14fb7cb71ee655382f9bb
|
2017-07-19 14:13:31 +03:00 |
|
Leo Yuriev
|
455de97d36
|
mdbx: rework using of mdbx_mmap_t and mdbx_msync().
|
2017-07-12 03:31:20 +03:00 |
|
Leo Yuriev
|
3c5ae4cc9c
|
mdbx: disable C4548 as workaround for buggy WinSDK 10.0.10240.0
|
2017-07-03 12:50:48 +03:00 |
|
Leo Yuriev
|
78ae12aa10
|
mdbx: fix MSVC 'padding' warnings, minor refine fields ordering.
|
2017-07-03 11:41:24 +03:00 |
|
Leo Yuriev
|
1d702aa94f
|
mdbx: more warning control for MSVC.
|
2017-07-03 06:45:41 +03:00 |
|
Leonid Yuriev
|
3e6a672286
|
mdbx: fix MSVC warnings, add uint16-range-asserts.
Change-Id: Ie67a728035eeae250efbf962270b5c17c974db23
|
2017-07-03 04:41:00 +03:00 |
|
Leo Yuriev
|
186d2ee065
|
mdbx: add 'mti_reader_finished_flag' for speedup find_oldesd().
Change-Id: I4a2c8b80efad0cfc12918969125d258043cbffba
|
2017-06-30 00:43:11 +03:00 |
|
Leo Yuriev
|
9a2fff91f3
|
mdbx: dynamic mapsize/geometry and API (mostly done).
Change-Id: Ifb768ff3207cae1755c53c211a3ae552c6455e12
|
2017-06-21 01:42:41 +03:00 |
|
Leo Yuriev
|
151d4540de
|
mdbx: refine internal constant (use UINT32_C, etc minors).
Change-Id: I0f994ee75b5aa1494fcc8ca42a46120865676e25
|
2017-06-21 01:39:53 +03:00 |
|
Leo Yuriev
|
f93818a926
|
mdbx: fix MAX_MAPSIZE for Win32.
Change-Id: I04cbffb14ab7c73d935614b2f5c8140000b78d76
|
2017-06-21 01:36:49 +03:00 |
|
Leo Yuriev
|
81661ff952
|
mdbx: add shared cache for oldest reader's txnid.
Change-Id: I48cbc778b873445dffa8ecef1fc3633e0193131f
|
2017-06-16 05:21:49 +03:00 |
|
Leo Yuriev
|
c01aeb5c68
|
mdbx: refine meta_txnid().
Change-Id: I4d78b2ebed8850c90dc762405ba939be7385c9a3
|
2017-06-16 05:21:49 +03:00 |
|
Leo Yuriev
|
6f53dd0719
|
mdbx: add mdbx_dbi_flags_ex().
|
2017-06-09 16:44:34 +03:00 |
|
Leo Yuriev
|
465459dc58
|
mdbx: add MDBX_txn.mt_owner and MDBX_THREAD_MISMATCH.
|
2017-06-06 17:11:29 +03:00 |
|
Leonid Yuriev
|
318646794e
|
mdbx: partial fix MSVC level-4 warnings.
|
2017-06-06 04:15:08 +03:00 |
|
Leonid Yuriev
|
bfa6dea784
|
mdbx: fix size_t/unsigned/int warnings.
Change-Id: Ic5a8684aed232b8b732d6e7a87a6757f3f7afcec
|
2017-06-06 04:15:08 +03:00 |
|
Leo Yuriev
|
61d7ea283f
|
mdbx: size_t for sync_threshold and mapsize.
|
2017-06-06 04:15:08 +03:00 |
|
Leo Yuriev
|
802c10f13f
|
mdbx: log2shift instead of multiplication by pagesize.
Change-Id: I72c4c7699a409795459b466ff74c388b15b13687
|
2017-06-06 04:15:08 +03:00 |
|
Leo Yuriev
|
9ef81ac16c
|
mdbx: add 'unlikely' to IS_OVERFLOW().
Change-Id: Ia92aac948046890ca4f9d9c3fbff0b4ac5728fab
|
2017-06-06 04:15:08 +03:00 |
|
Leo Yuriev
|
439ae3983c
|
mdbx: use 2^N constants for fill-threshold.
Change-Id: I3e190f5af77282a7995ae733c7a6865a21daa6c3
|
2017-06-06 04:15:08 +03:00 |
|
Leo Yuriev
|
59c22ab036
|
mdbx: use 32-bit pgno_t (page numbers).
Change-Id: Ie9f3528e12b7be27765c0225edde26e4d8282692
|
2017-06-06 04:15:08 +03:00 |
|
Leo Yuriev
|
1343b46466
|
mdbx: add txnid-list functions.
|
2017-06-06 04:15:08 +03:00 |
|