Howard Chu
|
de08119a29
|
Add mdb_env_set_pagesize()
|
4 years ago |
Quanah Gibson-Mount
|
1cd0da08a7
|
Happy New Year!
|
4 years ago |
Howard Chu
|
0a202f2ac7
|
Happy New Year
|
4 years ago |
moneromooo-monero
|
4efa54e5f3
|
ITS#8857 document mdb_cursor_del does not invalidate the cursor
|
4 years ago |
Howard Chu
|
0612992edf
|
ITS#8908 DOC: GET_MULTIPLE etc don't return the key
Unnecessary since these are DUPs, the key will always be the same
|
4 years ago |
Quanah Gibson-Mount
|
5a5e056f22
|
Happy New Year
|
4 years ago |
Howard Chu
|
05d5a9d3f6
|
Doc tweaks
Note about DB names being C strings
|
4 years ago |
Howard Chu
|
27c8cee72d
|
Add mdb_cursor_is_db()
Return 1 if the cursor is pointing to a named DB record
|
4 years ago |
Howard Chu
|
3585a1eb97
|
ITS#8704 Fix PREVMETA, rename to PREVSNAPSHOT
and enforce exclusive access to environment. Also fix txn_begin/pick_meta
to use correct meta page, and reset the flag after successful commit.
|
4 years ago |
moneromooo-monero
|
0158f67c14
|
ITS#8704 add MDB_PREVMETA flag to mdb_env_open
used to open the previous meta page, in case the latest one
is corrupted
From https://github.com/LMDB/lmdb/pull/12
|
4 years ago |
Hallvard Furuseth
|
61b5b6270d
|
Doc fixes
|
4 years ago |
Howard Chu
|
b89f8fc9bc
|
Page-level encryption support
Currently encrypts all but the meta pages
Still needs to store/retrieve the initialization vector
|
4 years ago |
Howard Chu
|
53799e51da
|
RPAGE_CACHE is now dynamically selectable
Behavior is controlled by MDB_REMAP_CHUNKS envflag
Remapping is always enabled in MDB_VL32
|
4 years ago |
Howard Chu
|
ac047d1eff
|
Add new MDB_RPAGE_CACHE def
Separate 32/64 dependency from rpage buffer mechanism
|
4 years ago |
Howard Chu
|
6ac9aa666e
|
Happy New Year
|
8 years ago |
Hallvard Furuseth
|
72c893fc82
|
Mention MDB_PREV_MULTIPLE along with MDB_NEXT_MULTIPLE
|
8 years ago |
Hallvard Furuseth
|
77845345ca
|
ITS#8505 Clarify fork() caveat, mdb_env_get_fd(), flock->fcntl.
|
8 years ago |
Hallvard Furuseth
|
58b0ce50b3
|
mdb_size comments
|
8 years ago |
Hallvard Furuseth
|
4d47e89f4d
|
MDB_VL32: Switch to mdb_size_t formats PRIu64 & co
Drop macro Y=MDB_FMT_Y, add Yu/Yd=MDB_PRIy(). Replace
Y"d..." -> Yd"...", Y"u..." -> Yu"..." / MDB_SCNy(u)"...".
|
8 years ago |
Hallvard Furuseth
|
a43fcad8c6
|
MDB_VL32: Match mdb_size_t type with format modifier.
When using format modifier "ll" or "I64", use the matching
type unsigned <long long / __int64> rather than uint64_t.
|
8 years ago |
Hallvard Furuseth
|
f25d716513
|
Fix MDB_INTEGERKEY doc of integer types
|
8 years ago |
Hallvard Furuseth
|
32764bcb52
|
Factor out MDB_SIZE_MAX, MDB_FMT_Y, MDB_FMT_Z
|
8 years ago |
Hallvard Furuseth
|
84610e65da
|
Add error MDB_PROBLEM, replace some MDB_CORRUPTED
When problem is most likely in txn, not on disk.
|
8 years ago |
Hallvard Furuseth
|
5ea12b0be8
|
ITS#8209 MDB_CP_COMPACT: Handle empty or broken DB
Preserve DB flags (use metapage#1) when main DB is empty.
Fail if metapage root != actual root in output file.
|
9 years ago |
Howard Chu
|
5f5f4dab9c
|
Happy New Year
|
9 years ago |
Hallvard Furuseth
|
e394e023e4
|
Fix MDB_VL32 mdb_cursor_count()/entrycount types
|
9 years ago |
Howard Chu
|
b5018e26bc
|
Update WRITEMAP doc
|
9 years ago |
Hallvard Furuseth
|
d6995599b4
|
lmdb.h Caveats: Reserved vs. actual mem/disk usage
|
9 years ago |
Howard Chu
|
27b1c5f366
|
Add MDB_PREV_MULTIPLE
Logical counterpart to GET_MULTIPLE, NEXT_MULTIPLE
|
9 years ago |
Howard Chu
|
c3852f29af
|
MDB_VL32 tweak prev commit
|
9 years ago |
Howard Chu
|
7b9928ced4
|
MDB_VL32 - prevent mixing with non-VL32 builds
|
9 years ago |
Howard Chu
|
825ab2ad52
|
MDB_RESERVE doc
Add mdb_put text to mdb_cursor_put description for people who
fail to draw logical conclusions.
|
9 years ago |
Howard Chu
|
860527f66e
|
Note that we're prepping for 1.0
|
9 years ago |
Howard Chu
|
1ba5adb2ec
|
MDB_VL32 preparation
Use 64 bit types consistently. This keeps database structures the
same size for MDB_VL32 and native 64 bit builds.
|
9 years ago |
Howard Chu
|
2cc88d20cc
|
Add Getting Started doc
|
9 years ago |
Howard Chu
|
bc4c177b91
|
Doc tweak - MDB_RESERVE / DUPSORT incompat
For those people who insist on ignoring the obvious.
|
9 years ago |
Howard Chu
|
c77fbc6f35
|
Another MDB_APPEND doc tweak
Missed this in 7ce29b9edb
|
9 years ago |
Howard Chu
|
80e997a0eb
|
Bump version to 0.9.16
|
9 years ago |
Hallvard Furuseth
|
3e301ec400
|
Catch most uses of finished/parent txns.
* Add MDB_TXN_FINISHED, MDB_TXN_HAS_CHILD, MDB_TXN_BLOCKED.
* Clear mt_numdbs in writers, for TXN_DBI_EXIST() to catch.
We already do in readers.
|
9 years ago |
Hallvard Furuseth
|
45e405528b
|
ITS#8181 Verify that records are/aren't DBs.
Except we don't catch the user passing F_SUBDATA to
mdb_cursor_<put/del>, like an internal LMDB call.
|
10 years ago |
Hallvard Furuseth
|
943b23f011
|
Restore support for Posix semaphores
|
10 years ago |
Howard Chu
|
bf55ce5545
|
Bump version to 0.9.15
(not really, since this is the dev/non-release branch)
|
10 years ago |
Hallvard Furuseth
|
68f64aa104
|
Clarify mdb_env_open() doc of 'mode' param
|
10 years ago |
Hallvard Furuseth
|
9bb915675a
|
ITS#8117 Fix MDB_INTEGERDUP keysize doc + md_dcmp
|
10 years ago |
Hallvard Furuseth
|
5224774f3c
|
Reformat mdb_dbi_open() doc for clarity
|
10 years ago |
Quanah Gibson-Mount
|
6fe12f3273
|
Happy New Year
|
10 years ago |
Howard Chu
|
8bb541bc40
|
Also support NOMETASYNC on txn_begin
|
10 years ago |
Howard Chu
|
3368d1f5e2
|
Support MDB_NOSYNC on mdb_txn_begin()
|
10 years ago |
Hallvard Furuseth
|
570ba6fb86
|
Fix EACCES description
|
10 years ago |
Hallvard Furuseth
|
404697b369
|
mdb_env_set_flags(): Reject CHANGELESS flags.
Reverts part of a2ac10107e .
MDB_ROBUST needed to be accepted, but that flag is gone.
|
10 years ago |