- Apr 18, 2013
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Move key init into mdb_env_setup_locks(). Don't create unused TLS key when read-only filesystem. Drop internal flag MDB_ROFS, we can instead test either !me_txns, !mt_u.reader or me_lfd==INVALID_HANDLE_VALUE.
-
Hallvard Furuseth authored
Malloc before I/O. Avoids possible malloc error after I/O. Don't allocate dirty & free lists when MDB_RDONLY. Factor out code.
-
- Apr 17, 2013
-
-
Howard Chu authored
Don't do anything with (fake root) subpages
-
- Apr 16, 2013
-
-
Howard Chu authored
Fix 227329c8, don't persist the MDB_VALID bit in db.md_flags.
-
- Apr 15, 2013
-
-
Howard Chu authored
-
Howard Chu authored
Need to check NUMKEYS as well as fill threshold, when deciding whether to change anything. Don't let the page drop below the minimum number of keys.
-
- Apr 14, 2013
-
-
Howard Chu authored
This reverts commit 372b3ddb. Original code works as designed.
-
- Apr 11, 2013
-
-
Claude Brisson authored
-
- Apr 08, 2013
-
-
Howard Chu authored
mdb_dbi_close() must allow any dbi < maxdbs, since opens in an uncommitted txn don't increment env->me_numdbs.
-
- Apr 05, 2013
-
-
Howard Chu authored
This reverts commit 8eef7a42. Previous commit was correct, duplicate keys should not appear here.
-
Howard Chu authored
-
- Apr 04, 2013
-
-
Howard Chu authored
Check for overflow pages, reset cursor position properly.
-
Howard Chu authored
In APPEND don't immediately reject matching key, since this is valid for APPENDDUP.
-
Howard Chu authored
Append mode should *reject* keys that are too small. Also allow APPENDDUP in mdb_put().
-
- Apr 02, 2013
-
-
Howard Chu authored
When fixing other cursors, must also fix their depth.
-
Howard Chu authored
Make sure C_INITIALIZED gets set on successful call
-
Howard Chu authored
-
- Mar 31, 2013
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Variables mdb_debug, mdb_debug_start were used undefined.
-
Howard Chu authored
-
Howard Chu authored
-
- Mar 29, 2013
-
-
Howard Chu authored
-
- Mar 26, 2013
-
-
Howard Chu authored
-
- Mar 25, 2013
-
-
Howard Chu authored
-
Howard Chu authored
-
- Mar 23, 2013
-
-
Claude Brisson authored
If the variable dkey.mv_size is non-zero, then it means dkey contains some original data which has to be put back in the child db, typically when the child db has just been created. But when using MDB_MULTIPLE, if this variable has not been reset to zero, we may come back to this section and wrongly think that there is some original data to be taken care of.
-
- Mar 13, 2013
-
-
Howard Chu authored
Allow leaf pages to have only 1 key.
-
Howard Chu authored
-
- Mar 11, 2013
-
-
Howard Chu authored
Causes Bus Error on SPARC
-
Howard Chu authored
Android supports madvise but not posix_madvise
-
Howard Chu authored
Add missing parens
-
Howard Chu authored
It's harmful when the DB is larger than RAM.
-
- Mar 06, 2013
-
-
Howard Chu authored
A page must always have at least 2 keys (unless it's a root page)
-
- Feb 25, 2013
-
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
We do it now... (coalescing freelist entries in page_alloc)
-
Howard Chu authored
-