- 23 Sep, 2013 9 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
The names have caused bugs, "txn" was treated as the current transaction.
-
Hallvard Furuseth authored
Malloc a page in this txn, not in a parent.
-
Hallvard Furuseth authored
Catch malloc error. Fix hunt for dirty vs spilled pages: Don't leave x at a deleted pageno. Cleanup: Factor out variables, squash pages already marked for deletion.
-
Hallvard Furuseth authored
Fix description & code: Also ignore dirty pages hidden by spilled pages, as they won't merge into our dirty_list. Update it in mdb_page_flush() instead of mdb_page_spill().
-
Hallvard Furuseth authored
Don't prod sub-pages or pages referring to uninitialized xcursors.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Use fcntl() to set the flag. Linux open(,O_DIRECT...) can create the file even on failure, if the filesystem lacks O_DIRECT support.
-
- 21 Sep, 2013 2 commits
-
-
Howard Chu authored
Set rc=0 when taking the SET_RANGE branch
-
Howard Chu authored
Must copy tmp cursor back to real cursor when merging into tmp cursor.
-
- 05 Sep, 2013 3 commits
-
-
Salvador Ortiz authored
-
Howard Chu authored
Reset delete flag in cursor_put().
-
Claude Brisson authored
-
- 03 Sep, 2013 1 commit
-
-
Howard Chu authored
If so, don't advance cursor on next NEXT. Also, init xcursor on the next GET_CURRENT.
-
- 29 Aug, 2013 1 commit
-
-
Howard Chu authored
The caller is responsible for making sure no transactions are active in this process before resizing. This is slightly lighter weight than doing a full env_close/env_open cycle.
-
- 27 Aug, 2013 1 commit
-
-
Howard Chu authored
Use a txn instead of env argument. Only return persistent flags.
-
- 25 Aug, 2013 1 commit
-
-
Hallvard Furuseth authored
-
- 24 Aug, 2013 3 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
-
- 23 Aug, 2013 6 commits
-
-
Howard Chu authored
-
Howard Chu authored
Always leave cursor pointing at "next" node, if any. Find next sibling if we're already at end of current page.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Howard Chu authored
If somehow "need" is larger than the list size, don't try to fake out the dirty list.
-
Howard Chu authored
spilling all possible pages is a waste because the majority will be needed again. Just do 1/8th of the dirty list instead.
-
- 14 Aug, 2013 2 commits
-
-
Howard Chu authored
-
Hallvard Furuseth authored
Do not access a long long as an array of longs.
-
- 13 Aug, 2013 3 commits
-
-
Howard Chu authored
For RDONLY, don't get lockfile until we know datafile exists. Also, don't try to create a new datafile for me_mfd if someone deleted it after we got me_fd.
-
Howard Chu authored
This reverts commit 87258384.
-
Howard Chu authored
-
- 12 Aug, 2013 3 commits
-
-
Howard Chu authored
Don't compare cursors beyond their depth. (detected by valgrind)
-
Howard Chu authored
Should allow for the possibility of future flag combos.
-
Howard Chu authored
If a key has a single existing value, and then a put (MDB_MULTIPLE) is done where the first of the multiple values matches the existing value, the put would return SUCCESS without writing any of the values. Fixed to loop to the next value as intended.
-
- 10 Aug, 2013 5 commits
-
-
Hallvard Furuseth authored
Use double DPRINTF() parenthesis, so varargs macros are not needed. Parenthesize MDB_DEBUG, in case the user defines it as foo || bar.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Also check xcursor instead of DUPSORT, it's slightly briefer.
-
Salvador Ortiz authored
-
Hallvard Furuseth authored
Checking dirty_list was insufficient after a spill with no named databases and no positioned cursors.
-