aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers
Commit message (Collapse)AuthorAgeFilesLines
* ITS#9385 fix using MDB_NOSUBDIR with nonexistent fileKris Zyp2022-06-031-4/+1
|
* Silence spurious fallthru warningHoward Chu2022-06-031-1/+1
|
* Fix rawpart flag collisionHoward Chu2022-06-031-2/+2
|
* More RAWPART supportHoward Chu2022-06-031-1/+43
| | | | | Use mmap to read and initialize the meta pages, raw device may not support read/write syscalls.
* Preliminary raw partition supportHoward Chu2022-06-031-1/+16
| | | | Autodetects that a block device is being used.
* ITS#9496 fix mdb_env_open bug from #8704Howard Chu2021-04-091-3/+3
| | | | Broken in 9c6eb75c656363176a55c63c81803feb3cfa614d
* ITS#9500 fix regression from ITS#8662Howard Chu2021-03-231-1/+1
| | | | mdb_load -a patch broke overwriting with MDB_CURRENT
* ITS#9007 don't free loose writemap pagesKris Zyp2021-02-011-1/+1
| | | | Broken in ITS#8756
* ITS#9068 fix backslash escapingHoward Chu2019-08-262-2/+4
| | | | | mdb_load wasn't properly inserting escaped backslashes into the data. mdb_dump wasn't escaping backslashes when generating printable output.
* Define _WANT_SEMUN for FreeBSD to ensure `union semun` is definedNoel O'Donnell2019-07-271-0/+2
| | | | Build was failing on GhostBSD (FreeBSD-13.0) because `union semun` is switched off by default. Defining _WANT_SEMUN switches it on.
* lmdb: catch non-LMDB negative errors before strerrormoneromooo-monero2019-04-141-0/+2
| | | | That should hopefully shut coverity up
* Update 2019 copyrightbinaryFate2019-03-052-2/+2
|
* ITS#8969 tweak mdb_page_splitHoward Chu2019-01-301-1/+1
| | | | Bump up number of keys for which we use fine-grained splitpoint search
* Resync to upstream mdb.masterHoward Chu2019-01-1727-831/+1069
|
* NetBSD supportthomasvaughan2018-09-111-0/+3
|
* Fix mdb_load append optionhyc2018-05-082-5/+9
| | | | | Use MDB_CURRENT to avoid seeking to new key when appending DUPs. Reinit cursor on new batch, if appending DUPs.
* ITS#8831 move flag init into readhdrhyc2018-05-081-1/+1
| | | | Avoid stomping on flags from 1st readhdr invocation
* liblmdb: install lmdb library for wallet2_api usagestoffu2018-03-161-0/+12
|
* ITS#8324 More for Win32 NTDLL junkHoward Chu2018-02-183-14/+31
| | | | Use GetProcAddress at runtime, avoid buildtime NTDLL link issues
* Merge pull request #3187Riccardo Spagni2018-02-161-0/+4
|\ | | | | | | 851bd057 call _exit instead of abort in release mode (moneromooo-monero)
| * call _exit instead of abort in release modemoneromooo-monero2018-02-011-0/+4
| | | | | | | | | | Avoids cores being created, as they're nowadays often piped to some call home system
* | Update 2018 copyrightxmr-eric2018-01-262-2/+2
|/
* Add misc hardening flags to the cmake machinerymoneromooo-monero2017-12-311-0/+1
| | | | See https://wiki.debian.org/Hardening#User_Space
* Add mdb_drop toolHoward Chu2017-11-194-2/+183
|
* ITS#8339 Solaris 10/11 robust mutex fixesHoward Chu2017-10-101-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.
* Add -a append option to mdb_loadHoward Chu2017-09-202-6/+47
| | | | To allow reloading of custom-sorted DBs from mdb_dump
* ITS#8728 fix MDB_VL32 freeing overflow pageHoward Chu2017-09-091-0/+4
| | | | Fix #2420
* ITS#8704 add MDB_PREVSNAPSHOT flag to mdb_env_openHoward Chu2017-08-128-15/+68
| | | | | used to open the previous snapshot, in case the latest one is corrupted
* Fix Android recognitionhyc2017-04-121-3/+3
| | | | The official macro is __ANDROID__; ANDROID may or may not be defined.
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-212-2/+2
|
* ITS#8582 keep mutex at end of structHoward Chu2017-02-071-10/+10
| | | | since it's variable size on Linux/glibc
* Workaround VL32 cursor refcounting miscountHoward Chu2017-01-311-7/+9
| | | | Don't try to deref cursor page if txn's pagelist is empty
* Build wallet with Android NDKMoroccanMalinois2017-01-051-0/+5
|
* cmake: transitive deps and remove deprecated LINK_*redfish2016-09-181-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.
* More for Issue #855Howard Chu2016-08-111-6/+12
| | | | Plug rpage leak in cursor_set
* Fix Issue #855Howard Chu2016-06-071-4/+0
| | | | Use the same size dirty list for both 64 and 32 bit.
* mdb_drop optimizationHoward Chu2016-04-091-1/+10
| | | | If we know there are no sub-DBs and no overflow pages, skip leaf scan.
* More outputs consolidationHoward Chu2016-04-051-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.
* MDB_VL32 - increase max write txn sizeHoward Chu2016-02-171-1/+1
|
* Resync with masterHoward Chu2016-02-162-23/+76
|
* MDB_VL32 change overflow page scanHoward Chu2016-01-281-31/+10
| | | | Just check the requested page, don't worry about any other pages
* MDB_VL32 Fix off-by-one in mdb_midl_shrinkHoward Chu2016-01-281-1/+1
|
* MDB_VL32 Fix another 32bit overflowHoward Chu2016-01-271-1/+1
|
* Tweak mdb_strerror msg bufferHoward Chu2016-01-271-3/+4
|
* MDB_VL32 Fix d2a5f72f73e0e4030b521086b13b8c8efaf9ca9eHoward Chu2016-01-271-1/+1
| | | | VirtualAlloc is not for MDB_VL32
* WIN64 needs off_t redefined tooHoward Chu2016-01-201-1/+1
|
* Fix --db-sync-mode on Windows64Howard Chu2016-01-161-1/+1
| | | | only "fastest" mode was working, others would SEGV.
* updated copyright yearRiccardo Spagni2015-12-312-2/+2
|
* MDB_VL32 - resync with masterHoward Chu2015-12-282-75/+75
| | | | | WIN32 - close file mapping handle in env_close cursor_unref - ignore cursor with empty stack
* Update liblmdb, unify 32/64 sourcesHoward Chu2015-12-2558-16989/+2461
|