aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb/mdb.c
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
* lmdb: catch non-LMDB negative errors before strerrormoneromooo-monero2019-04-141-0/+2
| | | | That should hopefully shut coverity up
* 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-171-708/+947
|
* Fix mdb_load append optionhyc2018-05-081-2/+2
| | | | | Use MDB_CURRENT to avoid seeking to new key when appending DUPs. Reinit cursor on new batch, if appending DUPs.
* ITS#8324 More for Win32 NTDLL junkHoward Chu2018-02-181-8/+29
| | | | Use GetProcAddress at runtime, avoid buildtime NTDLL link issues
* 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
* 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.
* 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-121-12/+29
| | | | | 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.
* 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
* More for Issue #855Howard Chu2016-08-111-6/+12
| | | | Plug rpage leak in cursor_set
* 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.
* Resync with masterHoward Chu2016-02-161-18/+62
|
* 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 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.
* MDB_VL32 - resync with masterHoward Chu2015-12-281-74/+74
| | | | | WIN32 - close file mapping handle in env_close cursor_unref - ignore cursor with empty stack
* Update liblmdb, unify 32/64 sourcesHoward Chu2015-12-251-0/+10865