Commit graph

1250 commits

Author SHA1 Message Date
Howard Chu
c47b113674 ITS#10396 lmdb: fix mdb_cursor_del0 with multiple DUPSORT cursors
Use the correct stack index when adjusting other cursors pointing to
the affected page and the DB has a subDB. Broken in ITS#8406.
2025-10-06 16:52:32 +01:00
Howard Chu
f7c1754e36 ITS#10355 2025-06-12 15:18:48 +01:00
Howard Chu
7c7988003b ITS#10355 lmdb mplay: don't assign to stdin/stdout 2025-06-12 15:16:50 +01:00
Howard Chu
c85bcff9c5 ITS#10346 2025-06-10 20:57:48 +01:00
Mike Moritz
7f8f52e0e2 ITS#10346 lmdb: fix compacting copy with large values 2025-06-10 20:56:50 +01:00
Howard Chu
529442b4cb ITS#10342 2025-06-10 20:43:44 +01:00
jinyaoguo
ce339e82bd ITS#10342 lmdb: fix potential memleak in child txn_begin 2025-06-10 20:39:52 +01:00
Howard Chu
ac89f42433 ITS#10296 lmdb: fix typo in prev commit 2025-02-19 09:15:27 +00:00
Howard Chu
96bffc9202 ITS#10296 fix fdatasync on MacOS 2025-01-28 17:29:56 +00:00
kero
f6b3c3d407 ITS#10296 lmdb: fix fdatasync on MacOS
Patch from kero, with corrections by hyc
2025-01-28 17:28:15 +00:00
Howard Chu
790ed0e911 ITS#10275 mdb_load: add -Q option to use NOSYNC for faster loading 2024-10-26 21:27:01 +01:00
Gary Wicker
c5f0ac271c ITS#10275 mdb_load: add -Q option to use NOSYNC for faster loading 2024-10-26 21:26:17 +01:00
Quanah Gibson-Mount
f6d015dd84 ITS#10222 2024-06-28 15:55:18 +00:00
Howard Chu
c6a49d7963 LMDB: tweak mdb_load.1 manpage
Add missing -a option to Synopsis
2024-06-28 14:55:06 +00:00
Zach Vonler
b84c35053b ITS#10222 LMDB: Updated mdb_dump man page
The -a option to mdb_load makes the previous text obsolete.
2024-06-28 14:55:01 +00:00
Quanah Gibson-Mount
54f00bd01f Return to engineering 2024-06-24 16:56:14 +00:00
Quanah Gibson-Mount
3a29a24777 Prep for release 2024-05-21 17:16:06 +00:00
Quanah Gibson-Mount
7c99799729 ITS#10212 2024-05-07 16:49:34 +00:00
Quanah Gibson-Mount
ccbec37209 ITS#10198 2024-05-07 16:49:00 +00:00
Howard Chu
d83d6b4ebe ITS#10212 LMDB: better fix 2024-05-03 20:44:48 +01:00
Howard Chu
37829ce493 ITS#10212 LMDB: init txnid for read-only DBs 2024-05-02 16:33:14 +01:00
Howard Chu
d3ae7c36e5 ITS#10198 Win32 mdb_strerror - stop passing "ignored" parameter
The M$ docs say the parameter is ignored, but it actually isn't,
and will cause a SEGV if the pointed memory isn't an init'd va_list.
2024-04-04 07:17:35 +01:00
Quanah Gibson-Mount
7077d5e601 ITS#9037 2024-03-26 16:25:55 +00:00
Howard Chu
83dc42c5ca ITS#9037 mdb_page_search: fix error code when DBI record is missing
Use the more relevant MDB_BAD_DBI instead of MDB_NOTFOUND error code
2024-03-26 14:52:42 +00:00
Quanah Gibson-Mount
e96d8dfa39 Prep for release 2024-01-29 18:20:26 +00:00
Howard Chu
5eb93a3b8a ITS#10125: fix bad merge
From ac011b2c5a
2024-01-20 21:16:17 +00:00
Quanah Gibson-Mount
6973baf416 ITS#10137 2024-01-16 20:30:34 +00:00
Clément Renault
95670e37c9 ITS#10137 LMDB: Allow users to define MDB_IDL_LOGN 2024-01-16 20:30:01 +00:00
Quanah Gibson-Mount
ea975636ab ITS#9378, ITS#10125 2024-01-11 22:35:25 +00:00
Howard Chu
ac011b2c5a ITS#10125 mdb_load: fix cursor reinit in Append mode 2024-01-11 22:33:43 +00:00
Howard Chu
9bafe54967 ITS#9378 Add replay tool
Reads a replay log and executes all the write ops
2024-01-09 17:41:21 +00:00
Howard Chu
4a19b804cf ITS#9378 Add explicit replay logging
Logs essential ops so they can be replayed.
Ignores read ops for now.
2024-01-09 17:27:59 +00:00
Quanah Gibson-Mount
31ba06e1da ITS#10095 2023-10-23 19:45:12 +00:00
Howard Chu
ce200dca1d ITS#10095 partial revert of ITS#9278 2fd44e3251
The patch was incorrect and introduced numerous race conditions.
The original problem was a FreeBSD bug, subsequently fixed:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269277
2023-08-27 15:40:34 +01:00
Quanah Gibson-Mount
392d6b53de Return to engineering 2023-07-10 21:20:16 +00:00
Quanah Gibson-Mount
ce201088de Update release date for LMDB 0.9.31 2023-07-10 16:09:21 +00:00
Quanah Gibson-Mount
051fb0bbfe Prep for release 2023-06-26 16:54:11 +00:00
Quanah Gibson-Mount
887d3b3077 ITS#8447 2023-05-25 19:37:01 +00:00
Howard Chu
76bad923f7 ITS#8447 fix cursor_put(MDB_CURRENT) on DUPSORT DB with different-sized data 2023-05-25 19:33:44 +00:00
Quanah Gibson-Mount
137fef056d Return to engineering 2023-02-13 20:04:45 +00:00
Quanah Gibson-Mount
8f44dca45d Update MDB_VERSION_DATE for the release 2023-02-08 18:41:37 +00:00
Quanah Gibson-Mount
05b582ac0c Update release date for 0.9.30 2023-02-08 18:40:04 +00:00
Howard Chu
54fae7711f ITS#9961 LMDB: fix MSVC error 2022-12-15 09:38:45 +00:00
Howard Chu
f16ef18fc9 ITS#9916 2022-11-28 23:41:00 +00:00
Howard Chu
139831a5c0 ITS#9916 liblmdb: use alternate MDB_page2 struct for some accesses
fakepage pointers are only guaranteed to be 2-byte aligned. Use a
2-byte aligned struct definition when referencing 2-byte page members
if a page pointer possibly points to a fakepage.
2022-11-28 23:18:56 +00:00
Quanah Gibson-Mount
0c2168993b ITS#9806 2022-11-28 17:51:38 +00:00
Howard Chu
d2fa5806d8 ITS#9806 LMDB page_split: key threshold depends on page size
32 was chosen for page size of 4KB. Not large nough for 16KB pages.
2022-11-28 14:32:33 +00:00
Quanah Gibson-Mount
d87d682b6d Prepare for release (0.9.30) 2022-10-04 14:23:03 +00:00
Quanah Gibson-Mount
ca7128ad35 ITS#9919 2022-10-03 16:40:10 +00:00
Mike Hommey
abe36745d2 ITS#9919 - Mark infrequently used functions as cold rather than manually putting them in a separate section 2022-09-27 17:30:48 +01:00