-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed windows build and updated lmdb to version 0.9.19 #91
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14cff07 Release 0.9.19 6cf793c ITS#8554 74d64d0 ITS#8554 kFreeBSD is like BSD 9db2b6e More MDB_node doc a4976c1 Doxygen fixes. Use DISTRIBUTE_GROUP_DOC. 7895f46 More 0.9.19 updates bb08f63 ITS#8504 Fix prev commit: mc_error, #ifdef SIGPIPE 894e88b ITS#8504 mdb_env_copyfd2(): Don't abort on SIGPIPE e8e8293 ITS#8542 mdb_dbi_open(): Protect mainDB cursors 47393f4 doxygen cleanup 2c3b019 Note functions which must set MDB_TXN_ERROR on failure 8de0788 Only set me_mfd if needed. Drop unused read access. e911ad6 ITS#8505 Clarify fork() caveat, mdb_env_get_fd(), flock->fcntl. 6e81d40 ITS#8505 Protect parent from fork()-pthread_exit() eb1a307 ITS#8505 Set FD_CLOEXEC for me_mfd,env_copy as well 9c76e95 Move opening files to mdb_fopen() 3faef63 Factor filename handling out to mdb_fname_*() f2ecddb ITS#7992 Tighter utf8_to_utf16(), fix errcodes e674f82 Clean up strange fcntl result check bffe2eb Drop spurious Errcode() call 9036e26 ITS#7682 F_NOCACHE: Allow error, skip any O_DIRECT 56b81e6 ITS#8489 reset cursor EOF flag in cursor_set 38564c9 Clean up MDB_USE_ROBUST #defines 590792f Fix mdb_page_list() message b95a2dc Fix mdb_audit() printf format 831e705 ITS#8481 make shared lib suffix overridable 7dab849 Comment MDB_page b92a481 Doc fixes: VALID_FLAGS, mm_last_pg, mt_loose_count b922a5a Silence warning for initializer "mdb_copy my = {0}" 14ca160 ITS#8209 MDB_CP_COMPACT: Handle empty or broken DB 1d86235 ITS#8209 MDB_CP_COMPACT: Threading/error handling f24d7d2 Add MDB_PREV_MULTIPLE (collected mdb.master changes) fe2b1cd Factor out refreshing sub-page pointers 6b1df0e More for ITS#8406 (xcursor fixups) b8c1877 Cleanup: Add flag DB_DUPDATA, drop DB_DIRTY hack b57bb99 Pass cursor to mdb_page_get(), mdb_node_read(). 7a8d0f6 Fix comment: SysV semaphores -> Posix semaphores 369b99a WIN64 needs off_t redefined too c2f6f04 lmdb.h Caveats: Reserved vs. actual mem/disk usage 13ecac7 ITS#8339, #8424 d886593 mdb_env_setup_locks: Plug mutexattr leak on error 21ed2bd ITS#8339 Solaris 10/11 robust mutex fixes b785bfb ITS#8424 init cursor in mdb_env_cwalk 09e74f9 Comment ovpage code in mdb_cursor_put() 27f6160 RE 0.9.19 dda2ac0 ITS#8412 fix NEXT_DUP after cursor_del b46fc3e ITS#8406 fix xcursors after cursor_del f9cdc4f mdb_drop optimization 0820431 ITS#8393 fix MDB_GET_BOTH on non-dup record 798f020 Tweak Win32 errmsg buffer git-subtree-dir: dependencies/lmdb git-subtree-split: 14cff07
Thanks! I'll look through it this week and merge it if everything's allright! :) |
6ac9aa6 Happy New Year f8ce8a8 More C_EOF tweaks c44b29e ITS#8557 fix prev commit 511f588 Tweak cursor_next C_EOF check d84dee5 ITS#8557 fix mdb_cursor_last 59ac317 ITS#8558 fix mdb_load with escaped plaintext 2e3eaf2 ITS#8554 kFreeBSD is like BSD 4bc270a More MDB_node doc be94a75 Doxygen fixes. Use DISTRIBUTE_GROUP_DOC. 72c893f Mention MDB_PREV_MULTIPLE along with MDB_NEXT_MULTIPLE e539654 ITS#8504 Fix prev commit: mc_error, #ifdef SIGPIPE 3e7a8e2 ITS#8504 mdb_env_copyfd2(): Don't abort on SIGPIPE 65e95ff ITS#7377 Catch mdb_cursor_sibling() error d78c80d Clean up and comment C_UNTRACK 1fb0822 ITS#8355 cleanup c0ff9a2 MDB_VL32 cleanup: MDB_env.mm_mapsize type e1be73c ITS#8542 mdb_dbi_open(): Protect mainDB cursors ffd13db Cleanup: Add flag DB_DUPDATA, drop DB_DIRTY hack ef06659 MDB_CP_COMPACT comments 3dda2bf doxygen cleanup 72f875b Note functions which must set MDB_TXN_ERROR on failure 08e4684 MDB_VL32 mdb_page_get(): Set MDB_TXN_ERROR on failure. a70200f Fix mdb_env_open() with MDB_VL32 f3ab0d2 Factor out refreshing sub-page pointers fa83b25 More for ITS#8406 e58db7d More for ITS#8406 f7e85d7 Only set me_mfd if needed. Drop unused read access. 7784534 ITS#8505 Clarify fork() caveat, mdb_env_get_fd(), flock->fcntl. 6355dad ITS#8505 Protect parent from fork()-pthread_exit() 04acac6 ITS#8505 Set FD_CLOEXEC for me_mfd,env_copy as well 1566687 Move opening files to mdb_fopen() cdc3f9c Factor filename handling out to mdb_fname_*() 67fb3c7 ITS#7992 Tighter utf8_to_utf16(), fix errcodes d87ee20 Clean up strange fcntl result check 3dd2d20 Drop spurious Errcode() call cdcf9da ITS#7682 F_NOCACHE: Allow error, skip any O_DIRECT 26e226b Silence warning for initializer "mdb_copy my = {0}" 45a8827 ITS#8489 reset cursor EOF flag in cursor_set da4443a Clean up MDB_USE_ROBUST #defines 36d374b Fix mdb_page_list() message c651014 ITS#8481 make shared lib suffix overridable 7e2290c MDB_VL32 plug rpage leak 77d522d Comment MDB_page 8670805 Doc fixes: VALID_FLAGS, mm_last_pg, mt_loose_count 58b0ce5 mdb_size comments 4d47e89 MDB_VL32: Switch to mdb_size_t formats PRIu64 & co 65d9791 Refactor mdb_page_get() a43fcad MDB_VL32: Match mdb_size_t type with format modifier. f25d716 Fix MDB_INTEGERKEY doc of integer types 0842f99 Use mdb_size_t for line numbers in mdb_load 12ad38d Fix size_t/formats -> mdb_size_t for MDB_VL32 dff8baf Factor some MDB_VL32-related '#if's out to macros 32764bc Factor out MDB_SIZE_MAX, MDB_FMT_Y, MDB_FMT_Z 84610e6 Add error MDB_PROBLEM, replace some MDB_CORRUPTED 291c69d ITS#8209 Tweak previous fixes 5ea12b0 ITS#8209 MDB_CP_COMPACT: Handle empty or broken DB eb7bbed ITS#8209 MDB_CP_COMPACT fixes c4c7833 mdb_env_setup_locks: Plug mutexattr leak on error 53a0fdf Init "locked" flag for SysV semaphores c367c1f ITS#8339 Solaris 10/11 robust mutex fixes b045bce ITS#8424 init cursor in mdb_env_cwalk e2b8b64 Comment ovpage code in mdb_cursor_put() a04aad3 ITS#8412 fix NEXT_DUP after cursor_del 3708132 ITS#8406 fix xcursors after cursor_del c8dbd77 mdb_drop optimization 8fff90d ITS#8393 fix MDB_GET_BOTH on non-dup record e46d78b MDB_VL32 - increase max write txn size 3f62b72 Tweak MDB_PREV_MULTIPLE for uninit'd cursor d909ab2 Tweak Win32 errmsg buffer 5ef1908 ITS#8324 Map NTAPI result codes to WIN32 codes fcac8d0 ITS#7992 Fix memleak in prev change 5f5f4da Happy New Year e394e02 Fix MDB_VL32 mdb_cursor_count()/entrycount types 3f62ddc MDB_VL32 change overflow page scan 5bf313e ITS#8363 Fix off-by-one in mdb_midl_shrink 6f653ca MDB_VL32 more for 1ba5adb2ec262405f9207d6015d4f29eea548d25 8f88b1b ITS#8324 fix a6ccef73ed288271f9b5871909d14a2e481c81ae 8c215aa ITS#8355 fix subcursors b5018e2 Update WRITEMAP doc 20dec1f WIN64 needs off_t redefined too a6ccef7 ITS#8324 fix c4e31434c7773ee54f2ffdeb545e5740f56492a1 d699559 lmdb.h Caveats: Reserved vs. actual mem/disk usage 1588001 ITS#8346 fix typo in prev commit a5bf164 ITS#8347 fix off-by-one in VL32 purge 447683a ITS#8346 free last txn0->mt_rpages in env_close 27b1c5f Add MDB_PREV_MULTIPLE 5db0b54 Fixups for env_copy with large files 53f624b MDB_VL32 fix cursor_unref - ignore cursor with empty stack 1c2a588 ITS#8342 MDB_VL32/WIN32 - close file mapping handle in env_close c3852f2 MDB_VL32 tweak prev commit 7b9928c MDB_VL32 - prevent mixing with non-VL32 builds 90d1ee2 MDB_VL32 - Fix me_rpmutex usage 825ab2a MDB_RESERVE doc 9d75a82 MDB_VL32 - fix prev commit 5eb25c5 MDB_VL32 - fix for Win32 read-only envs 3a2ac24 MDB_VL32 - track overflow pages too 6534b80 mdb_page_alloc(): Use original snapshot of freeDB. 3302518 Prep for next commit: C_WRITEMAP, C_ORIG_RDONLY. 397d85d Pass cursor to mdb_page_get(), mdb_node_read(). 209b56f ITS#8324 fix for WRITEMAP 860527f Note that we're prepping for 1.0 29ebd02 MDB_VL32 support 64 bit DBs on 32 bit processors 1ba5adb MDB_VL32 preparation 86ae31e Fix typos 2cc88d2 Add Getting Started doc c7a786e ITS#7992 cleanup 791badd mdb_dbi_open(): Catch strdup failure 8b95e7d ITS#8324 fix for read-only envs 58d1fd4 ITS#8336 fix page_search_root assert on FreeDB abb13ba ITS#8334 Fix MDB_APPENDDUP vs. rewrite(single item) c4e3143 ITS#8324 additional tweaks 4198bbd ITS#8330 Fix robust mutex detection for glibc 2.10 and 2.11 45fe870 ITS#8169 more Makefile tweaks 50949b4 ITS#8169 more for prev patch fb5a768 ITS#8324 incremental DB file growth for Windows dbbbfa1 ITS#8321 cleanup unused var 6cff716 ITS#8169 Allow passing mandir to make install 3a4fd79 ITS#8168 Allow passing AR to make da67af1 ITS#8321 fix ambiguity in cursor_put fixup 50d9651 Cleanup C_DEL flag usage 1424aa0 ITS#8321 More cursor fixup 6982928 ITS#8321 page_touch - don't fixup the cursor we just touched db02a71 ITS#8321 mdb_put cursor needs tracking too cf8677e ITS#8321 Fix mdb_cursor_set b5ce810 ITS#8321 deinit empty cursors 83258ca ITS#8323 Fix nested commit fae01c8 CURSOR_TMP_[UN]TRACK() -> WITH_CURSOR_TRACKING() 85d2f98 ITS#8320 mdb_load: fix loading data from simple text files e29cfa0 ITS#8319 mdb_load: explain readline and mdb_cursor_put errors 6fdaea4 ITS#8321 reorganize page_split fixups fd59808 ITS#8321 simplify page_split fixups 3a31dd5 ITS#8321 track temporary cursors 828107e ITS#8321 fix mdb_cursor_put 0d5ebc5 ITS#8321 fix mdb_cursor_shadow() 88ac698 ITS#8321 fix mdb_cursor_chk() 3b9f857 ITS#8321 don't skip fixups on splitting cursors f3eb26c ITS#8321 Fix del/dupsort f3e3856 ITS#8316 more for 60c34d14ec3ceb0762d620eef77db73dd1e911dc d6ae255 ITS#8300 more for prev commit 946e4d3 Silence some valgrind uninit warnings 1bfe757 Refix root split check from 5da6796 58ad1dd ITS#7992 assume Windows paths are UTF-8 60c34d1 ITS#8316 cursor fixup in page_merge a98b74e ITS#8315 fix ovpage_free f08b70d ITS#8313 more for ITS#8062 4d140b9 ITS#8312 Fix loose pages in commit(nested txn) 355f64a ITS#8311 add comment 6d63afb ITS#8311 fix page_split from update_key 3360cba ITS#7209 Default MDB_DSYNC = O_SYNC if no O_DSYNC c46119a ITS#8310 fix mdb_rebalance cursor fixup c6d9080 Tweak robust mutex detection for glibc 3c9786b ITS#8304 fix page_merge 0fdfdf3 ITS#8300 more for node_move 3ff8a73 ITS#8300 simplify b12bdaa ITS#8300 more for node_move fixups 7a5a78e ITS#8300 fix node_move 0c777df ITS#8300 fix rebalance after node_move eddd9b7 ITS#8238 fix DUPFIXED page_split d372a2a ITS#8299 fix page_merge cursor fixup b9130d3 Use MDB_USE_ROBUST not MDB_NO_ROBUST 2be6797 Add MDB_NO_ROBUST to disable Robust Mutexes 2ee9c4a Fix MDB_NOSYNC,MDB_NOMETASYNC thinko 619ccdd ITS#8270 win32: fix conversion error with MSVC 9411de6 ITS#7771 more for prev commit 7c1baed ITS#7771 fix cursor tracking on fake pages e211b87 ITS#8263 streamline prev patch c456d21 ITS#8263 fix cursor tracking in cursor_put b42cd65 ITS#8264 fix cursor_del cursor tracking 8b46dcc ITS#8258 fix rebalance/split 436333b Fix typo in mdb_tassert(). e034bd3 ITS#8259 fix usage ordering 3cbbe3a ITS#8221 fix typos 2247507 ITS#8221 cleanup prev commit 7267e0f ITS#8221 don't merge branch pages needlessly 62826b0 ITS#8256 Create install directories if needed 7e476e4 ITS#8237 fix ITS#7589 regression e9e3c9f ITS#7377 mdb_env_init_meta(): Catch calloc error bc4c177 Doc tweak - MDB_RESERVE / DUPSORT incompat c77fbc6 Another MDB_APPEND doc tweak 10c808e ITS#8069 char* strings on Windows are ASCII 8d198fd ITS#8067 add ssize_t typedef for MSVC 80e997a Bump version to 0.9.16 c9d4560 ITS#8192 fix typo d4f9568 ITS#8192 cleanup unused label on WIN32 572aff7 ITS#8192 fix reference to EINTR on WIN32 from ITS#8106 2c6c267 Simpler mdb_env_write_meta() af29f6a Kill magic numbers for NUM_METAS, databases 4dea7d4 ITS#7377 Catch mdb_put() to blocked/read-only txns d7db12a ITS#7377 Always notice env error on txn startup. 060b63a Cleanup: Drop !mt_dbxs hack, use MDB_TXN_FINISHED 3e301ec Catch most uses of finished/parent txns. b6973a3 Move code into mdb_txn_end(). Was mdb_txn_reset0. 90f6fc4 ITS#8200 Fix mdb_midl_shrink() usage, return void 91fc43f Factor me_metas[toggle] out to mdb_env_pick_meta() 62aabaa Simpler mdb_node_add() 45e4055 ITS#8181 Verify that records are/aren't DBs. 749633e ITS#8190 fix cursor EOF bug ad87d6a More ESECT declarations ebb8b67 Add DB_USRVALID, to avoid 'dbi == FREE_DBI' tests 5cd5e92 Simpler flag/DBI checks and MDB_DEBUG 4033f31 Simpler mdb_drop(). be0cdc1 Simpler mdb_node_shrink() 084d412 Simpler mdb_txn_commit(). 5305871 mdb_txn_begin() cleanup b6ac0cd mdb_drop0(): Omit scanning DUPSORT sub-DB leaves f702e33 Use mdb_cmp_long() for FREE_DBI 11536be mdb_env_get_flags(): Hide internal flags a937740 ITS#7969 Wrap unportable __sync_synchronize in #if 943b23f Restore support for Posix semaphores 9574b65 Fix mdb_mutex_t, add mdb_mutexref_t, drop MDB_MUTEX(). 8293b20 Add MDB_USE_POSIX_MUTEX. 7d162bc CHANGES only belongs in mdb.RE bf55ce5 Bump version to 0.9.15 e95d57f Use ftok() for semget(), and only lower mode bits 68f64aa Clarify mdb_env_open() doc of 'mode' param 579ad14 ITS#8156 Fix MDB_MAXKEYSIZE doc aa16d7b ITS#8157 mdb_txn_renew0(): init after error checks 8d1f6ca mdb_txn_renew(): Drop pointless diff from mdb.RE. 02e8de5 Set/clear mp_pad, md_pad (MDB_DUPFIXED data size). 77bdbdd mtest*.c: Fix MDB_NOOVERWRITE, plug cursor leak 9bb9156 ITS#8117 Fix MDB_INTEGERDUP keysize doc + md_dcmp 329e12e ITS#8117 better fix 3d2202f Revert "ITS#8117 cleanup prev commit" ce7ba0c ITS#8117 cleanup prev commit ed13d4a ITS#8117 fix INTEGERDUP compare f4cab29 ITS#8109 fix mdb_cursor_del0 on empty DB 4c62fde ITS#8106 retry writes on EINTR ccf4d8b ITS#8062 also handle subcursors b0fca5b ITS#8062 fix rebalance 2f6877f Cleanup mtest* and sample-*. 5224774 Reformat mdb_dbi_open() doc for clarity 6a86f22 Cleanup MDB_env.me_txn0. 8adee94 Fix per-txn MDB_NOMETASYNC, MDB_NOSYNC. 5451663 Renumber MDB_TXN_* flags, simplify flag code 49bb9e8 mdb_txn_renew(): Clear error from previous txn d2dab3c ITS#8062 fix uninit'd cursor index 04af46b ITS#8066 fix mdb_load with large values 6fe12f3 Happy New Year f526f1b Happy New Year 8bb541b Also support NOMETASYNC on txn_begin 3368d1f Support MDB_NOSYNC on mdb_txn_begin() 570ba6f Fix EACCES description b2ab991 ITS#7971 Fix reader allocation and me_numreaders 404697b mdb_env_set_flags(): Reject CHANGELESS flags. 71741a6 Fix potential null deref (coverity) d711e35 Whitespace (align with mdb.RE) 631970e Make SysV semaphores robust. Cleanup MDB_ROBUST. 9441012 ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP 8b6c425 More cleanup for fdatasync hack ea89e3d Tweak conditionals for fdatasync hack f83f62a ITS#8021 env_sync is invalid in RDONLY env 462dc09 fdatasync hack, again e86072a Revert "Note MDB_SAFE_FDATASYNC" 293d6bb Note MDB_SAFE_FDATASYNC 9585c01 Simpler fdatasync hack 0ef1e0b Revert "Fix prev commit for env_sync0" 985bbbb Fix prev commit for env_sync0 0018eeb Hack for potential ext3/ext4 corruption issue 7ce29b9 Fix MDB_APPEND doc 6c71173 make clean: remove *.lo cccc947 Try to avoid an invalid datafile after failed init 9cc04f6 Clarify mdb_dbi_open doc 03ddbcf C90-compatible code for SysV semaphores 1a7243b ITS#7987 fix excessive space for single write txn c36c167 ITS#7994 fix prev commit b660491 ITS#7994 Access to current transaction ID. 1413de3 Fix SysV semaphores - repair mti_txnid. 3e6ac6e For ITS#7789: Ensure mapsize >= pages in use. c306423 Fix WIN32 -> _WIN32 0697869 mdb_strerror: Silence warning @ Windows 4376a19 Fix comments 4bda1d2 Clean up SysV semaphore code. 443a7e4 Fix robust mutexes - repair mti_txnid. 42110d8 Simplify recent changes a bit. 9a72292 ITS#7961,#7987 Re-fix txn init. 9a8eb95 ITS#7971 LMDB: clarification in mdb_txn_renew0(). bd6d2e6 ITS#7970 LMDB: Critical Heisenbug 9a80a8a ITS#7969 LMDB: volatile & __synchronize(). 925e780 ITS#7959 fix prev commit d72b2f5 ITS#7961 fix txn init d77e3dd ITS#7959 Check fstat return value 461d9c8 ITS#7841 trivial cleanup 56c2c16 ITS#7956 fix compact of empty env bfe297d ITS#7955, #7671 fix MDB_PREV_DUP 61dd017 ITS#7953 .gitignore *.lo fd0315d ITS#7952 .gitignore mdb_dump/load 8bec53f Don't use -fPIC for static lib e3b6c35 Use robust mutexes by default 58ddb55 Use SysV semaphores instead of POSIX a53716e Must do dlist_free before releasing Wmutex ec6cf4e MDB_ROBUST: Use MDB_PID_T. Drop a wmutex variable. f6add29 Free write mutex earlier in txn_reset0 a2ac101 Add MDB_ROBUST REVERT: 14cff07 Release 0.9.19 REVERT: 6cf793c ITS#8554 REVERT: 74d64d0 ITS#8554 kFreeBSD is like BSD REVERT: 9db2b6e More MDB_node doc REVERT: a4976c1 Doxygen fixes. Use DISTRIBUTE_GROUP_DOC. REVERT: 7895f46 More 0.9.19 updates REVERT: bb08f63 ITS#8504 Fix prev commit: mc_error, #ifdef SIGPIPE REVERT: 894e88b ITS#8504 mdb_env_copyfd2(): Don't abort on SIGPIPE REVERT: e8e8293 ITS#8542 mdb_dbi_open(): Protect mainDB cursors REVERT: 47393f4 doxygen cleanup REVERT: 2c3b019 Note functions which must set MDB_TXN_ERROR on failure REVERT: 8de0788 Only set me_mfd if needed. Drop unused read access. REVERT: e911ad6 ITS#8505 Clarify fork() caveat, mdb_env_get_fd(), flock->fcntl. REVERT: 6e81d40 ITS#8505 Protect parent from fork()-pthread_exit() REVERT: eb1a307 ITS#8505 Set FD_CLOEXEC for me_mfd,env_copy as well REVERT: 9c76e95 Move opening files to mdb_fopen() REVERT: 3faef63 Factor filename handling out to mdb_fname_*() REVERT: f2ecddb ITS#7992 Tighter utf8_to_utf16(), fix errcodes REVERT: e674f82 Clean up strange fcntl result check REVERT: bffe2eb Drop spurious Errcode() call REVERT: 9036e26 ITS#7682 F_NOCACHE: Allow error, skip any O_DIRECT REVERT: 56b81e6 ITS#8489 reset cursor EOF flag in cursor_set REVERT: 38564c9 Clean up MDB_USE_ROBUST #defines REVERT: 590792f Fix mdb_page_list() message REVERT: b95a2dc Fix mdb_audit() printf format REVERT: 831e705 ITS#8481 make shared lib suffix overridable REVERT: 7dab849 Comment MDB_page REVERT: b92a481 Doc fixes: VALID_FLAGS, mm_last_pg, mt_loose_count REVERT: b922a5a Silence warning for initializer "mdb_copy my = {0}" REVERT: 14ca160 ITS#8209 MDB_CP_COMPACT: Handle empty or broken DB REVERT: 1d86235 ITS#8209 MDB_CP_COMPACT: Threading/error handling REVERT: f24d7d2 Add MDB_PREV_MULTIPLE (collected mdb.master changes) REVERT: fe2b1cd Factor out refreshing sub-page pointers REVERT: 6b1df0e More for ITS#8406 (xcursor fixups) REVERT: b8c1877 Cleanup: Add flag DB_DUPDATA, drop DB_DIRTY hack REVERT: b57bb99 Pass cursor to mdb_page_get(), mdb_node_read(). REVERT: 7a8d0f6 Fix comment: SysV semaphores -> Posix semaphores REVERT: 369b99a WIN64 needs off_t redefined too REVERT: c2f6f04 lmdb.h Caveats: Reserved vs. actual mem/disk usage REVERT: 13ecac7 ITS#8339, #8424 REVERT: d886593 mdb_env_setup_locks: Plug mutexattr leak on error REVERT: 21ed2bd ITS#8339 Solaris 10/11 robust mutex fixes REVERT: b785bfb ITS#8424 init cursor in mdb_env_cwalk REVERT: 09e74f9 Comment ovpage code in mdb_cursor_put() REVERT: 27f6160 RE 0.9.19 REVERT: dda2ac0 ITS#8412 fix NEXT_DUP after cursor_del REVERT: b46fc3e ITS#8406 fix xcursors after cursor_del REVERT: f9cdc4f mdb_drop optimization REVERT: 0820431 ITS#8393 fix MDB_GET_BOTH on non-dup record REVERT: 798f020 Tweak Win32 errmsg buffer REVERT: ad8488c Release 0.9.18 REVERT: 60580aa ITS#7992 Fix memleak in prev change REVERT: ea7d99d Happy New Year REVERT: eb5a998 ITS#8363 REVERT: c322c4c ITS#8363 Fix off-by-one in mdb_midl_shrink REVERT: c06c3c7 ITS#8355, doc update REVERT: 6c0900c ITS#8355 fix subcursors REVERT: 90a07a3 Update WRITEMAP doc REVERT: 81d0d29 ITS#8334, mdb_copy REVERT: 05709ce Fixups for env_copy with large files REVERT: 935a90d MinGW warning cleanup: _MSC_VER -> _WIN32. REVERT: 25fd09d ITS#8334 Fix MDB_APPENDDUP vs. rewrite(single item) REVERT: 03f1c12 ITS#8336 REVERT: fd7bfbc ITS#8336 fix page_search_root assert on FreeDB REVERT: ac69474 MDB_RESERVE doc REVERT: e8760b4 ITS#7992 cleanup, new docs, mdb_dbi_open cleanup REVERT: 3fd0d5f Add Getting Started doc REVERT: ec32e90 ITS#7992 cleanup REVERT: 18caeaa mdb_dbi_open(): Catch strdup failure REVERT: 14ce42f ITS#8169, #8330 REVERT: 19d135a ITS#8330 Fix robust mutex detection for glibc 2.10 and 2.11 REVERT: 8738e5e ITS#8169 more Makefile tweaks REVERT: 99427fc Return to releng REVERT: 2011eb3 Release 0.9.17 REVERT: e4b84e7 ITS#8321 cleanup unused var REVERT: b617a3e ITS#8168, 8169 REVERT: 376aea8 ITS#8169 Allow passing mandir to make install REVERT: 16b8275 ITS#8168 Allow passing AR to make REVERT: 9ec8e18 ITS#8323 REVERT: 00aae12 ITS#8321 fix ambiguity in cursor_put fixup REVERT: e0316e0 Cleanup C_DEL flag usage REVERT: 46e3f46 ITS#8321 More cursor fixup REVERT: 2b89f4b ITS#8321 page_touch - don't fixup the cursor we just touched REVERT: 8e7cd22 ITS#8321 mdb_put cursor needs tracking too REVERT: 7881fd0 ITS#8321 Fix mdb_cursor_set REVERT: 00515ba ITS#8321 deinit empty cursors REVERT: 75bca7f ITS#8323 Fix nested commit REVERT: c11ef29 CURSOR_TMP_[UN]TRACK() -> WITH_CURSOR_TRACKING() REVERT: 9e3101d ITS#8319, 8320 REVERT: 00f635d ITS#8320 mdb_load: fix loading data from simple text files REVERT: 8297bfe ITS#8319 mdb_load: explain readline and mdb_cursor_put errors REVERT: b0851a1 ITS#8316, 8321 REVERT: d78ffc9 ITS#8321 reorganize page_split fixups REVERT: 8fdf796 ITS#8321 simplify page_split fixups REVERT: 7a76ded ITS#8321 track temporary cursors REVERT: 5c7b84b ITS#8321 fix mdb_cursor_put REVERT: 94831f7 ITS#8321 fix mdb_cursor_shadow() REVERT: 0ec3967 ITS#8321 fix mdb_cursor_chk() REVERT: 8773a08 ITS#8321 don't skip fixups on splitting cursors REVERT: 91dc625 ITS#8321 Fix del/dupsort REVERT: 94e8009 ITS#8300 more for prev commit REVERT: ba85adb Silence some valgrind uninit warnings REVERT: bfe2088 Refix root split check from 5da6796 REVERT: f13b971 ITS#7992 assume Windows paths are UTF-8 REVERT: 28b57ba ITS#8316 cursor fixup in page_merge REVERT: 657dbcc ITS#8312, 8313, 8315 REVERT: 1edb0e3 ITS#8315 fix ovpage_free REVERT: 2fb8219 ITS#8313 more for ITS#8062 REVERT: db51035 ITS#8312 Fix loose pages in commit(nested txn) REVERT: 27f71b4 ITS#8311 REVERT: 71c07f0 ITS#8311 add comment REVERT: f9d3dc8 ITS#8311 fix page_split from update_key REVERT: a9877f7 ITS#7209 REVERT: 2a839d5 ITS#7209 Default MDB_DSYNC = O_SYNC if no O_DSYNC REVERT: f6b7277 ITS#8310 REVERT: a90415f ITS#8310 fix mdb_rebalance cursor fixup REVERT: 79b12bb Tweak robust mutex detection for glibc REVERT: 4e1ec79 ITS#8304 REVERT: 5d8f9dd ITS#8304 fix page_merge REVERT: 712942d ITS#8300 more for node_move REVERT: 7d022e0 ITS#8300 simplify REVERT: 0db71b9 ITS#8300 more for node_move fixups REVERT: e339fce ITS#8300 REVERT: 9fc7c94 ITS#8300 fix node_move REVERT: af45cf3 ITS#8300 fix rebalance after node_move REVERT: 4359ffe ITS#8238, #8299 REVERT: 17aab56 ITS#8238 fix DUPFIXED page_split REVERT: c62b77b ITS#8299 fix page_merge cursor fixup REVERT: caca4d8 Use MDB_USE_ROBUST not MDB_NO_ROBUST REVERT: 447f552 Add MDB_NO_ROBUST to disable Robust Mutexes REVERT: 550df2a More misc updates REVERT: f1e07f9 Fix typo in mdb_tassert(). REVERT: 56adc46 ITS#8069 char* strings on Windows are ASCII REVERT: 22958b0 ITS#8067 add ssize_t typedef for MSVC REVERT: de5b689 Simpler mdb_env_write_meta() REVERT: bde5c23 Kill magic numbers for NUM_METAS, databases REVERT: 8901d9c ITS#7377 Catch mdb_put() to blocked/read-only txns REVERT: 01342bd ITS#7377 Always notice env error on txn startup. REVERT: 602c978 Cleanup: Drop !mt_dbxs hack, use MDB_TXN_FINISHED REVERT: a3ae2e7 Catch most uses of finished/parent txns. REVERT: 9266843 Move code into mdb_txn_end(). Was mdb_txn_reset0. REVERT: 0cfc0a9 Factor me_metas[toggle] out to mdb_env_pick_meta() REVERT: 4902434 Simpler mdb_node_add() REVERT: 6318038 More ESECT declarations REVERT: 110fba2 Add DB_USRVALID, to avoid 'dbi == FREE_DBI' tests REVERT: b6f0179 Simpler flag/DBI checks and MDB_DEBUG REVERT: 06df0a4 Simpler mdb_drop(). REVERT: e5f41ce Simpler mdb_node_shrink() REVERT: 9d6c973 Simpler mdb_txn_commit(). REVERT: ee06adb mdb_txn_begin() cleanup REVERT: cc2a50a mdb_drop0(): Omit scanning DUPSORT sub-DB leaves REVERT: 70788bf Use mdb_cmp_long() for FREE_DBI REVERT: a36f7a7 mdb_env_get_flags(): Hide internal flags REVERT: 600e2b6 Support robust mutexes/locks. Add mdb_mutex_t etc. REVERT: 3a71450 Add MDB_USE_POSIX_MUTEX. REVERT: f25c4f0 Whitespace (align with mdb.master) REVERT: 086bc04 ITS#7969 Use __sync_synchronize() REVERT: 3f6fa7a Set/clear mp_pad, md_pad (MDB_DUPFIXED data size). REVERT: c616689 Cleanup MDB_env.me_txn0. REVERT: c0170bc Copy some env flags to txn. Factor out flags. REVERT: c65ca29 ITS#7971 mdb_txn_renew0(): Fix new readers slots. REVERT: 076b773 ITS#7994 Access to current transaction ID. REVERT: f3d3f60 Try to avoid an invalid datafile after failed init REVERT: aa10c98 For ITS#7789: Ensure mapsize >= pages in use. REVERT: fc35141 ITS#8263, 8264, 7771, 8270 REVERT: 52446f9 ITS#8270 win32: fix conversion error with MSVC REVERT: 24add65 ITS#7771 fix cursor tracking on fake pages REVERT: 448b4c8 ITS#8263 streamline prev patch REVERT: 7e3c532 ITS#8263 fix cursor tracking in cursor_put REVERT: 9ed1e57 ITS#8264 fix cursor_del cursor tracking REVERT: 6f53771 ITS#8258 REVERT: 8bdadf6 ITS#8258 fix rebalance/split REVERT: eccea85 ITS#8259 fix usage ordering REVERT: be1795a ITS#8221 fix typos REVERT: bc7d3d9 ITS#8221, #8256 REVERT: 4b01cb3 ITS#8221 don't merge branch pages needlessly REVERT: ddb7478 ITS#8256 Create install directories if needed REVERT: faeaa3a ITS#7377, 8237 REVERT: d84fae3 ITS#8237 fix ITS#7589 regression REVERT: 7f151b1 ITS#7377 mdb_env_init_meta(): Catch calloc error REVERT: 9a8d38a Doc tweak - MDB_RESERVE / DUPSORT incompat REVERT: d7e4e20 Return to release engineering REVERT: e55956a Another MDB_APPEND doc tweak REVERT: 5d67c6a Release 0.9.16 REVERT: d139771 ITS#8192 fix reference to EINTR on WIN32 from ITS#8106 REVERT: c4ae054 Updated for ITS#8181, #8190, #8200 REVERT: 4b58502 ITS#8200 Fix mdb_midl_shrink() usage, return void REVERT: 1fd0341 ITS#8181 Verify that records are/aren't DBs. REVERT: 7513bd4 ITS#8190 fix cursor EOF bug REVERT: 1b6085c Return to Release Engineering REVERT: 56e4e20 Release 0.9.15 REVERT: 416ecc7 Update for mdb_env_open REVERT: 6794d89 Clarify mdb_env_open() doc of 'mode' param REVERT: 249d2b8 more CHANGES REVERT: 2a1dd5a ITS#8156 REVERT: a0b9669 ITS#8156 Fix MDB_MAXKEYSIZE doc REVERT: 277e536 ITS#8157 REVERT: 6bfadb9 ITS#8157 mdb_txn_renew0(): init after error checks REVERT: 91743d6 mtest*.c: Fix MDB_NOOVERWRITE, plug cursor leak REVERT: 822b2d5 ITS#8117 Fix MDB_INTEGERDUP keysize doc + md_dcmp REVERT: 6bd97d4 ITS#8117 better fix REVERT: 7127753 Revert "ITS#8117 cleanup prev commit" REVERT: 0fd2214 ITS#8117 REVERT: 47c4e74 ITS#8117 cleanup prev commit REVERT: ba45e0c ITS#8117 fix INTEGERDUP compare REVERT: 5cdde0c ITS#8109 REVERT: b751148 ITS#8109 fix mdb_cursor_del0 on empty DB REVERT: 8cf7329 ITS#8106 REVERT: 32d46d4 ITS#8106 retry writes on EINTR REVERT: 5c89827 Cleanup mtest* and sample-*. REVERT: 1693012 Reformat mdb_dbi_open() doc for clarity REVERT: f46b642 mdb_txn_renew(): Clear error from previous txn REVERT: dce0911 ITS#8062 fix uninit'd cursor index REVERT: 2072ae6 Fix EACCES description REVERT: b0032fe ITS#8062 also handle subcursors REVERT: ddc4aa1 ITS#8062 REVERT: 97c7b61 ITS#8062 fix rebalance REVERT: dd58f3d ITS#8066 REVERT: 82b6a04 ITS#8066 fix mdb_load with large values REVERT: b7d1afa Happy New Year REVERT: 21a374f Happy New Year REVERT: 6586299 Restrictive mdb_copy file mode. REVERT: 8230b1b ITS#7970 LMDB: Critical Heisenbug REVERT: 1e5d798 ITS#7969 LMDB: volatile. REVERT: ea80418 Fix potential null deref (coverity) REVERT: 0599dee ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP REVERT: bf3961e More cleanup for fdatasync hack REVERT: e85c944 Tweak conditionals for fdatasync hack REVERT: 0b9f42d ITS#8021 env_sync is invalid in RDONLY env REVERT: 4500d49 fdatasync hack, again REVERT: 888a76f Revert "Fix prev commit for env_sync0" REVERT: fe8b13f Tweak fdatasync hack description REVERT: e95c923 Fix prev commit for env_sync0 REVERT: 0249583 Update for fsync hack REVERT: 91155b9 Hack for potential ext3/ext4 corruption issue REVERT: e6ac9c2 Update for 0.9.15 REVERT: a0accc8 Fix MDB_APPEND doc REVERT: f1417e2 make clean: remove *.lo REVERT: dcccd8a Clarify mdb_dbi_open doc REVERT: 196e07c ITS#7987 fix excessive space for single write txn REVERT: f284c32 Fix WIN32 -> _WIN32 REVERT: 8704eff mdb_strerror: Silence warning @ Windows REVERT: 5bf495a Fix comments REVERT: 3aa7537 Simplify recent changes a bit. REVERT: 17bf75b ITS#7961,#7987 Re-fix txn init. REVERT: 3ce002f ITS#7959 fix prev commit REVERT: ce40f4f ITS#7961 fix txn init REVERT: 042e766 ITS#7959 Check fstat return value REVERT: c473091 ITS#7841 trivial cleanup REVERT: 98ed192 ITS#7956 fix compact of empty env REVERT: af99820 ITS#7955, #7671 fix MDB_PREV_DUP REVERT: 0482f18 ITS#7953 .gitignore *.lo REVERT: 9227f66 ITS#7952 .gitignore mdb_dump/load REVERT: 20ad21d Don't use -fPIC for static lib REVERT: df9da7c Must do dlist_free before releasing Wmutex REVERT: 9eede0b Free write mutex earlier in txn_reset0 git-subtree-dir: dependencies/lmdb git-subtree-split: 6ac9aa666e6754f195a2e988d0c395f4d6364c28
Thank you @b-ono for your work! I merged your commits that fix the Windows build and I also upgraded to the latest LMDB right now. |
Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.