- 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 3 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
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.
-
- 21 Aug, 2013 1 commit
-
-
Howard Chu authored
-
- 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 8 commits
-
-
Howard Chu authored
-
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.
-
John Hewson authored
-
Salvador Ortiz authored
-
Hallvard Furuseth authored
Checking dirty_list was insufficient after a spill with no named databases and no positioned cursors.
-
-
- 09 Aug, 2013 4 commits
-
-
Salvador Ortiz authored
-
Howard Chu authored
-
Hallvard Furuseth authored
Return EINVAL only for simple programmer errors.
-
Hallvard Furuseth authored
-
- 08 Aug, 2013 1 commit
-
-
Hallvard Furuseth authored
Ignore parent txn cursors since it is the current txn's dirty_list which will be flushed. But check the current txn also when clearing, since cursors can have pages which are dirty in a parent. Check !mc_xcursor instead of !MDB_DUPSORT. Equivalent for valid data, but a bit safer if the sub-DB flags are corrupt.
-