Howard Chu
bc4c177b91
Doc tweak - MDB_RESERVE / DUPSORT incompat
...
For those people who insist on ignoring the obvious.
2015-08-22 14:00:12 +01:00
Howard Chu
c77fbc6f35
Another MDB_APPEND doc tweak
...
Missed this in 7ce29b9edb
2015-08-21 21:40:33 +01:00
Howard Chu
80e997a0eb
Bump version to 0.9.16
2015-08-14 01:01:40 +01:00
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.
2015-07-19 21:31:25 +02:00
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.
2015-07-11 21:01:40 +02:00
Hallvard Furuseth
943b23f011
Restore support for Posix semaphores
2015-07-02 21:14:56 +02:00
Howard Chu
bf55ce5545
Bump version to 0.9.15
...
(not really, since this is the dev/non-release branch)
2015-06-19 14:13:43 +01:00
Hallvard Furuseth
68f64aa104
Clarify mdb_env_open() doc of 'mode' param
2015-06-02 20:49:33 +02:00
Hallvard Furuseth
9bb915675a
ITS#8117 Fix MDB_INTEGERDUP keysize doc + md_dcmp
2015-05-19 20:33:35 +02:00
Hallvard Furuseth
5224774f3c
Reformat mdb_dbi_open() doc for clarity
2015-04-14 20:24:30 +02:00
Quanah Gibson-Mount
6fe12f3273
Happy New Year
2015-02-12 11:17:59 -06:00
Howard Chu
8bb541bc40
Also support NOMETASYNC on txn_begin
2015-02-02 10:33:41 +00:00
Howard Chu
3368d1f5e2
Support MDB_NOSYNC on mdb_txn_begin()
2015-01-30 09:21:39 +00:00
Hallvard Furuseth
570ba6fb86
Fix EACCES description
2015-01-27 06:10:57 +01:00
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.
2015-01-14 08:12:50 +01:00
Hallvard Furuseth
d711e357da
Whitespace (align with mdb.RE)
2015-01-12 21:02:29 +01:00
Hallvard Furuseth
631970e485
Make SysV semaphores robust. Cleanup MDB_ROBUST.
2015-01-12 21:02:29 +01:00
Hallvard Furuseth
9441012435
ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP
2015-01-12 12:19:51 +01:00
Howard Chu
f83f62a7ae
ITS#8021 env_sync is invalid in RDONLY env
2015-01-09 11:25:52 +00:00
Howard Chu
7ce29b9edb
Fix MDB_APPEND doc
...
We actually compare the new key against the last key, to prevent
corruption.
2014-12-15 20:40:59 +00:00
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.
2014-12-08 03:21:09 +00:00
Howard Chu
c36c167cc4
ITS#7994 fix prev commit
...
Strip docs promising behaviors that we don't promise to hold.
Strip MDB_txnid_t typedef.
2014-12-05 19:18:01 +00:00
David Barbour
b660491d3f
ITS#7994 Access to current transaction ID.
...
I, David Barbour, hereby place the following modifications to OpenLDAP
Software (and only these modifications) into the public domain. Hence,
these modifications may be freely used and/or redistributed for any
purpose with or without attribution and/or other notice.
2014-12-05 19:17:52 +00:00
Howard Chu
e3b6c359a9
Use robust mutexes by default
...
Making it optional on pthreads just complicates things;
they're always robust on other implementations
2014-10-01 20:58:15 +01:00
Hallvard Furuseth
a2ac10107e
Add MDB_ROBUST
2014-10-01 20:35:12 +01:00
Howard Chu
2f587ae081
new date
2014-09-20 07:24:32 +01:00
Howard Chu
b9495245b4
Release 0.9.14
2014-09-15 19:48:32 +01:00
Howard Chu
9cf1749f73
ITS#7793 doc update, again
2014-08-04 05:13:29 -07:00
Howard Chu
d098184f61
Update date
2014-07-24 04:15:45 -07:00
Howard Chu
1b08d8e503
ITS#7789 doc updates
2014-07-23 17:31:34 -07:00
Howard Chu
7ef970436d
Revert ITS#7789 commits, let's try this again.
...
Revert "ITS#7789 Fix resize vs MDB_NOMETASYNC, and a comment."
Revert "ITS#7789 more"
Revert "Revert "ITS#7789 update RESIZED errmsg text""
Revert "ITS#7789 update RESIZED errmsg text"
Revert "ITS#7789 persist mapsize changes"
This reverts commit 02285aca58 .
This reverts commit 38e71c68de .
This reverts commit a5e4eecb1e .
This reverts commit d8e18551c3 .
This reverts commit 5926e54bba .
2014-07-23 17:19:33 -07:00
Hallvard Furuseth
02285aca58
ITS#7789 Fix resize vs MDB_NOMETASYNC, and a comment.
2014-07-09 20:16:33 +02:00
Howard Chu
0401f2deed
ITS#7825 add MDB_BAD_DBI error code
...
Use DBI sequence numbers to detect DBIs being closed while in use.
2014-07-08 21:02:40 -07:00
Howard Chu
5926e54bba
ITS#7789 persist mapsize changes
...
Write decreases too, not just increases. Check for any size change
that was not requested by this process.
2014-07-08 19:18:02 -07:00
Howard Chu
604256ceff
Update LMDB version date/info
2014-07-08 16:37:28 -07:00
Howard Chu
3e98addbe2
Rationalize mdb_env_copy2 API
2014-07-05 07:49:10 -07:00
Howard Chu
4009c9ae65
Add mdb_env_copy2()
...
And mdb_env_copyfd2(). Perform compaction on the copy. Trims out
freed pages and renumbers data pages in sequential order. This is
more CPU-intensive since it copies and modifies data pages.
2014-07-01 21:45:43 -07:00
Howard Chu
9a4ef8406e
Doc updates
...
Rename MDB -> LMDB
Integrate tool manpages
2014-06-24 04:16:19 -07:00
Howard Chu
3e83b5b27b
Add mdb_dump, update copyrights
2014-06-20 06:36:30 -07:00
Howard Chu
59d30a49c3
Bump to 0.9.13
2014-06-18 14:25:46 -07:00
Hallvard Furuseth
b898cb642a
ITS#7793 Re-fix MDB_CURRENT doc: Match current item
2014-06-18 23:01:14 +02:00
Hallvard Furuseth
01a75c5ab5
Fix MDB_GET_MULTIPLE/MDB_NEXT_MULTIPLE doc.
2014-06-18 23:01:14 +02:00
Howard Chu
ecb71ee197
Bump version to 0.9.12
2014-06-13 10:46:27 -07:00
Hallvard Furuseth
92c01ffda8
ITS#7771 mdb_cursor_put doc: Cursor moves on error
2014-05-30 09:06:08 +02:00
Hallvard Furuseth
83676dc0f0
Document DBI issues, extend MDB_BAD_VALSIZE.
2014-05-30 09:06:08 +02:00
Howard Chu
6948f9dace
More for ITS#7793/7828
...
Note MDB_CURRENT/MDB_DUPSORT requirement
2014-03-26 02:41:26 -07:00
Howard Chu
f537429b64
ITS#7828, #7793
...
Clarify MDB_CURRENT key usage, simplify freelist_save
2014-03-26 02:35:56 -07:00
Howard Chu
9026894e05
Revert "ITS#7793 mdb_cursor_put(): Fix MDB_CURRENT."
...
This reverts commit 4e954f8ae8 .
Caused ITS#7828.
2014-03-26 02:35:45 -07:00
Hallvard Furuseth
86d9675543
Revert "Update MDB_PANIC description" (thinko).
...
This reverts commit 6bd34d0534 .
2014-03-23 13:06:03 +01:00
Hallvard Furuseth
6bd34d0534
Update MDB_PANIC description
2014-03-22 22:27:10 +01:00