Quanah Gibson-Mount
|
b1afa1f2c7
|
Happy New Year!
|
5 years ago |
Howard Chu
|
af2f8cc814
|
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.
|
6 years ago |
Howard Chu
|
1de70b2130
|
Happy New Year
|
6 years ago |
moneromooo-monero
|
561ba50158
|
ITS#8857 document mdb_cursor_del does not invalidate the cursor
|
6 years ago |
Howard Chu
|
eab90d5389
|
ITS#8908 DOC: GET_MULTIPLE etc don't return the key
Unnecessary since these are DUPs, the key will always be the same
|
6 years ago |
Quanah Gibson-Mount
|
0a2622317f
|
Happy New Year
|
7 years ago |
moneromooo-monero
|
3daab3be73
|
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
|
7 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 |
Hallvard Furuseth
|
d711e357da
|
Whitespace (align with mdb.RE)
|
10 years ago |
Hallvard Furuseth
|
631970e485
|
Make SysV semaphores robust. Cleanup MDB_ROBUST.
|
10 years ago |
Hallvard Furuseth
|
9441012435
|
ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP
|
10 years ago |
Howard Chu
|
f83f62a7ae
|
ITS#8021 env_sync is invalid in RDONLY env
|
10 years ago |
Howard Chu
|
7ce29b9edb
|
Fix MDB_APPEND doc
We actually compare the new key against the last key, to prevent
corruption.
|
10 years ago |
Howard Chu
|
9cc04f604f
|
Clarify mdb_dbi_open doc
The concurrency restriction is on threads within a single process.
Multiple processes can use mdb_dbi_open without affecting each other.
|
10 years ago |
Howard Chu
|
c36c167cc4
|
ITS#7994 fix prev commit
Strip docs promising behaviors that we don't promise to hold.
Strip MDB_txnid_t typedef.
|
10 years ago |