aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16Copyright: Update to 2023mj-xmr1-1/+1
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-06-03ITS#9385 fix using MDB_NOSUBDIR with nonexistent fileKris Zyp1-4/+1
2022-06-03Silence spurious fallthru warningHoward Chu1-1/+1
2022-06-03Fix rawpart flag collisionHoward Chu1-2/+2
2022-06-03More RAWPART supportHoward Chu1-1/+43
Use mmap to read and initialize the meta pages, raw device may not support read/write syscalls.
2022-06-03Preliminary raw partition supportHoward Chu1-1/+16
Autodetects that a block device is being used.
2021-04-09ITS#9496 fix mdb_env_open bug from #8704Howard Chu1-3/+3
Broken in 9c6eb75c656363176a55c63c81803feb3cfa614d
2021-03-23ITS#9500 fix regression from ITS#8662Howard Chu1-1/+1
mdb_load -a patch broke overwriting with MDB_CURRENT
2021-02-01ITS#9007 don't free loose writemap pagesKris Zyp1-1/+1
Broken in ITS#8756
2019-08-26ITS#9068 fix backslash escapingHoward Chu2-2/+4
mdb_load wasn't properly inserting escaped backslashes into the data. mdb_dump wasn't escaping backslashes when generating printable output.
2019-04-14lmdb: catch non-LMDB negative errors before strerrormoneromooo-monero1-0/+2
That should hopefully shut coverity up
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-01-30ITS#8969 tweak mdb_page_splitHoward Chu1-1/+1
Bump up number of keys for which we use fine-grained splitpoint search
2019-01-17Resync to upstream mdb.masterHoward Chu27-832/+1070
2018-05-08Fix mdb_load append optionhyc2-5/+9
Use MDB_CURRENT to avoid seeking to new key when appending DUPs. Reinit cursor on new batch, if appending DUPs.
2018-05-08ITS#8831 move flag init into readhdrhyc1-1/+1
Avoid stomping on flags from 1st readhdr invocation
2018-03-16liblmdb: install lmdb library for wallet2_api usagestoffu1-0/+12
2018-02-18ITS#8324 More for Win32 NTDLL junkHoward Chu3-14/+31
Use GetProcAddress at runtime, avoid buildtime NTDLL link issues
2018-02-01call _exit instead of abort in release modemoneromooo-monero1-0/+4
Avoids cores being created, as they're nowadays often piped to some call home system
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-12-31Add misc hardening flags to the cmake machinerymoneromooo-monero1-0/+1
See https://wiki.debian.org/Hardening#User_Space
2017-11-19Add mdb_drop toolHoward Chu4-2/+183
2017-10-10ITS#8339 Solaris 10/11 robust mutex fixesHoward Chu1-1/+9
Check for PTHREAD_MUTEX_ROBUST_NP definition (this doesn't work on Linux/glibc because they used an enum). Zero out mutex before initing.
2017-09-20Add -a append option to mdb_loadHoward Chu2-6/+47
To allow reloading of custom-sorted DBs from mdb_dump
2017-09-09ITS#8728 fix MDB_VL32 freeing overflow pageHoward Chu1-0/+4
Fix #2420
2017-08-12ITS#8704 add MDB_PREVSNAPSHOT flag to mdb_env_openHoward Chu8-15/+68
used to open the previous snapshot, in case the latest one is corrupted
2017-04-12Fix Android recognitionhyc1-3/+3
The official macro is __ANDROID__; ANDROID may or may not be defined.
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-07ITS#8582 keep mutex at end of structHoward Chu1-10/+10
since it's variable size on Linux/glibc
2017-01-31Workaround VL32 cursor refcounting miscountHoward Chu1-7/+9
Don't try to deref cursor page if txn's pagelist is empty
2017-01-05Build wallet with Android NDKMoroccanMalinois1-0/+5
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-1/+1
Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
2016-08-11More for Issue #855Howard Chu1-6/+12
Plug rpage leak in cursor_set
2016-06-07Fix Issue #855Howard Chu1-4/+0
Use the same size dirty list for both 64 and 32 bit.
2016-04-09mdb_drop optimizationHoward Chu1-1/+10
If we know there are no sub-DBs and no overflow pages, skip leaf scan.
2016-04-05More outputs consolidationHoward Chu1-1/+1
Also bumped DB VERSION to 1 Another significant speedup and space savings: Get rid of global_output_indices, remove indirection from output to keys This is the change warptangent described on irc but never got to finish.
2016-02-17MDB_VL32 - increase max write txn sizeHoward Chu1-1/+1
2016-02-16Resync with masterHoward Chu2-23/+76
2016-01-28MDB_VL32 change overflow page scanHoward Chu1-31/+10
Just check the requested page, don't worry about any other pages
2016-01-28MDB_VL32 Fix off-by-one in mdb_midl_shrinkHoward Chu1-1/+1
2016-01-27MDB_VL32 Fix another 32bit overflowHoward Chu1-1/+1
2016-01-27Tweak mdb_strerror msg bufferHoward Chu1-3/+4
2016-01-27MDB_VL32 Fix d2a5f72f73e0e4030b521086b13b8c8efaf9ca9eHoward Chu1-1/+1
VirtualAlloc is not for MDB_VL32
2016-01-20WIN64 needs off_t redefined tooHoward Chu1-1/+1
2016-01-16Fix --db-sync-mode on Windows64Howard Chu1-1/+1
only "fastest" mode was working, others would SEGV.
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-12-28MDB_VL32 - resync with masterHoward Chu2-75/+75
WIN32 - close file mapping handle in env_close cursor_unref - ignore cursor with empty stack
2015-12-25Update liblmdb, unify 32/64 sourcesHoward Chu29-0/+17816
2015-03-17Revert "Moved db_drivers/ into external/ for consistency"Thomas Winget28-16170/+0
This reverts commit b21335642e75b35d3b178a754f4cdb2314989cd1.
2015-03-09Moved db_drivers/ into external/ for consistencyThomas Winget28-0/+16170