- Jul 29, 2013
-
-
-
-
-
Quanah Gibson-Mount authored
-
-
Quanah Gibson-Mount authored
-
-
Quanah Gibson-Mount authored
-
Quanah Gibson-Mount authored
-
Howard Chu authored
Return the actual shared reader count when it exists, not just the current process env's reader count.
-
- Jul 26, 2013
-
-
Howard Chu authored
NetBSD can only handle up to 14 chars, we were using 21. Now we encode to 15, and for NetBSD truncate the last char.
-
- Jul 19, 2013
-
-
Howard Chu authored
Check again after acquiring rmutex. Avoids potential issue with a duplicate pid coming in between initial check and rmutex.
-
Howard Chu authored
Avoid holding rmutex for longer than necessary.
-
- Jul 18, 2013
-
-
Howard Chu authored
Use mti_numreaders for loop limit, not me_maxreaders.
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
Don't obtain reader txn before displaying reader table. Exit after reader table if no other DB query options were given.
-
Howard Chu authored
Dump the active slots in the reader table.
-
- Jul 15, 2013
-
-
Howard Chu authored
Retrieve the flags from a DB handle.
-
- Jul 14, 2013
-
-
Howard Chu authored
Don't count pages twice if they're already accounted in an ancestor txn.
-
Howard Chu authored
Same fix for cursor_first/last.
-
Howard Chu authored
Whenever we enter cursor_set() the sub-cursor's flag must be cleared. If the new cursor position has valid subdata it will be initialized again, if not then the sub-cursor has nothing to point to.
-
- Jul 12, 2013
-
-
Howard Chu authored
-
Howard Chu authored
-
Hallvard Furuseth authored
-
Howard Chu authored
-
Howard Chu authored
This avoids unnecessary rewrites of pages that do not change. (Restructuring for upcoming mdb_page_spill work.)
-
Hallvard Furuseth authored
TODO: Rename C_UNTRACK to C_TRACKED. Omitted now for readability. The current name is because it's lazy: not always set when tracked.
-
Hallvard Furuseth authored
(Restructuring for upcoming mdb_page_spill work.) mdb_freelist_save() can't just Get() the destination, since mdb_page_spill() may have put the destination in the read-only map. TODO: Can this new put() modify the freelist, which would break it? The final iteration's put() can shorten the node, the rest uses MDB_CURRENT. We could set P_KEEP on dirty freeDB leaves and ovpages, since they are all about to be modified. But the code in this commit must stay anyway, if mdb should support dropping a 256G DB. I.e. too big for dirty_list.
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
Commit d6d2638a broke read on zero-length files.
-
- Jul 10, 2013
-
-
Hallvard Furuseth authored
Nor uninited cursors' subcursors' page pointers.
-
Howard Chu authored
When collapsing root, must also move cursor index down, not just the page pointer. Also in mtest, break from NEXT loops on error, otherwise it just prints the previous key/data again, which looks confusing.
-
Howard Chu authored
-
- Jul 09, 2013
-
-
Howard Chu authored
-
- Jul 07, 2013
-
-
Hallvard Furuseth authored
If mdb_page_touch() sees a page in txn's dirty_list, that is the page version txn's cursors should have. Fail if the user may be seeing and depending on another version.
-
Hallvard Furuseth authored
Restore mc_flags and xcursors, they were tracked but not merged. Simplify: Track parent txn's original cursors after backing them up, instead of tracking copies and merging them back at commit.
-
Hallvard Furuseth authored
-