Niko
a303059e07
include sys/param.h not available on win
2 years ago
Niko
10c83c557a
removing MAC authentication
2 years ago
Niko
4d66bccd20
adding some helper comments for enum indexes of MDB_cursor_op
2 years ago
Niko
aeb6b34ea0
fix me_esumsize not taken into account for max free space on page. issue with MAC authenticated encryption
2 years ago
Niko
cb78962cfc
change version number. added logging for MAC
2 years ago
Niko
2717d0ee1a
reserve 32B for MAC in mdb_env_set_encrypt
2 years ago
Niko
954278881e
updated version
2 years ago
Niko
b1984f3964
Revert "Revert "Use mdb_page_loose() more""
...
This reverts commit 7d590039f2
.
2 years ago
Howard Chu
97e7e9ac79
ITS#9524 fix loose page tracking
...
Fixes commit 0e17ba43a8
, loose pages
that have been dropped from dirty list should no longer be counted.
2 years ago
NikoPLP
ad3f8367b0
ITS#9910 fix undefined MDB_FDATASYNC on MacOSX
...
Broken by d85fe32
ITS#9372
2 years ago
Niko
6156b10356
implement mdb_env_init_crypto with memory management
2 years ago
Niko
a9e0d9dfca
updated version string and date mdb_version
2 years ago
Niko
d6f40c33d3
from mozilla/lmdb : Mark infrequently used functions as cold rather than manually putting them in a separate section (205300e)
2 years ago
Niko
b0ab9a151c
from mozilla/lmdb : Use sys/cachectl.h rather than asm/cachectl.h on mips (b7df2ca)
2 years ago
Niko
96b9b77ebf
from mozilla/lmdb : enable configuration of MDB_IDL_LOGN (1202ffb)
2 years ago
moneromooo-monero
33b50e24db
lmdb: catch non-LMDB negative errors before strerror
...
That should hopefully shut coverity up
2 years ago
Howard Chu
7970bf7e9b
ITS#9723 clear C_EOF on cursor with MDB_FIRST_DUP
2 years ago
Niko
7d590039f2
Revert "Use mdb_page_loose() more"
...
This reverts commit 12ee1a2d71
.
2 years ago
Niko
d5308c43c1
fix undefined MDB_FDATASYNC on macos since ITS#9372. caused by 2nd elif not selected
2 years ago
Joakim Hassila
0179cfab57
ITS#9861 fix readonly regression from #9017
3 years ago
Kris Zyp
64fc67f4ae
ITS#9385 fix using MDB_NOSUBDIR with nonexistent file
3 years ago
Kris Zyp
e2b82098fa
ITS#9618 fix Windows WRITEMAP flush
...
Revert back to using standard FlushViewOfFile/FlushFileBuffers
to sync data with WRITEMAP mode on Windows
3 years ago
Howard Chu
52836cdb8d
ITS#9574 add mdb_drop to .gitignore
4 years ago
Howard Chu
557ab60606
ITS#9496 fix mdb_env_open bug from #8704
...
Broken in 3585a1eb97
4 years ago
Howard Chu
fcf44d3fd8
ITS#9500 fix regression from ITS#8662
4 years ago
Howard Chu
6ad29167cc
ITS#9376 simplify
4 years ago
Quanah Gibson-Mount
997300695a
ITS#9469 - Typo fixes
4 years ago
Howard Chu
e9166d02d0
ITS#9461 fix typo
4 years ago
Howard Chu
336d717147
ITS#9461 refix ITS#9376
...
Was setting C_DEL flag gratuitously
4 years ago
Quanah Gibson-Mount
3a940d6860
Happy New Year!
4 years ago
Kris Zyp
d85fe32dab
ITS#9372 Default to using POSIX semaphores on MacOS
...
Unless robust is specified (then use SysV)
4 years ago
Kris Zyp
576ccd10ff
ITS#9371 Fix unknown size of void compilation errors
4 years ago
Howard Chu
4a61bbd8b2
ITS#9376 Fixes for repeated deletes with xcursor
...
On DUPSORT DBs, must initialize xcursor regardless of whether
caller requested its data. Also in cursor_prev must check whether
cursor index is still within range before using it.
4 years ago
Howard Chu
311f071c1f
Support db_pagesize in mdb_load
...
Since setting was added in de08119a29
4 years ago
Howard Chu
fccd990c93
ITS#9364 fix doxygen comment
4 years ago
Howard Chu
8e8371d125
ITS#9364 Add docs for crypto modules
4 years ago
Howard Chu
b220a6655b
ITS#9364 Add crypto support to all tools
...
Using dynamically loaded crypto modules
4 years ago
Howard Chu
12c63d299c
ITS#9364 use crypto table properly
4 years ago
Howard Chu
21d21a09b0
ITS#9364 tweak crypto sample again
4 years ago
Howard Chu
34fd281543
ITS#9364 tweak sample
...
Cheat with OpenSSL 1.1 internal structures to avoid malloc/free per page
4 years ago
Howard Chu
93c72a7726
ITS#9364 add sample for authenticated encryption
4 years ago
Howard Chu
0bc8a4e929
ITS#9364 add error code texts
4 years ago
Howard Chu
8dc526c54f
ITS#9364 rework crypto API
...
And add support for per-page checksums. Reserve space for checksum
at tail of page. Pass pgno+txnid as IV input for encryption.
4 years ago
Howard Chu
d1814f7e5d
ITS#9017 fixes for encryption
4 years ago
Howard Chu
1002664c33
Fix rawpart flag collision
4 years ago
Howard Chu
1738a2a779
Fix fallthru warning
4 years ago
Howard Chu
de08119a29
Add mdb_env_set_pagesize()
4 years ago
Howard Chu
a7df9e63a5
More RAWPART support
...
Use mmap to read and initialize the meta pages, raw device
may not support read/write syscalls.
4 years ago
Howard Chu
5c0dda76c9
Preliminary raw partition support
...
Autodetects that a block device is being used.
4 years ago
Howard Chu
8bcc050fee
ITS#9278 fix robust mutex cleanup for FreeBSD
...
FreeBSD 11 supports robust process-shared POSIX mutexes,
but requires them to be explicitly destroyed before munmap
4 years ago