- 27 Nov, 2012 7 commits
-
-
Hallvard Furuseth authored
With MDB_MAPASYNC, the API provided no way to ensure full sync.
-
Hallvard Furuseth authored
It returned 0, which is the freelist DBI and is valid for a few uses.
-
Hallvard Furuseth authored
This allows for other flag values in the future.
-
Hallvard Furuseth authored
Let the user specify the number of databases he will actually use. Adding 2 for FREE_DBI and MAIN_DBI is an internal matter.
-
Hallvard Furuseth authored
mdb_env_open() with these flags did not open a synchronizing file descriptor. Thus disabling them later did not work.
-
Hallvard Furuseth authored
Drop mmap()'s MAP_FIXED flag, so it returns another address instead of unmapping existing overlapping pages. Verify the returned address.
-
Hallvard Furuseth authored
MDB_NOSUBDIR was == MDB_REVERSEKEY. That affected the freelist: Env flags are stored in mm_flags alias mm_dbs[FREE_DBI].md_flags. It stays a persistent flag, in case mdb_env_open someday wants to pick/verify which lockfile to use with the datafile. Catch bad flags so they will no longer make it into the data file.
-
- 05 Nov, 2012 1 commit
-
-
Howard Chu authored
Wasn't pushing the optimal half of the array onto the stack, thus used more stack than expected -> overrun.
-
- 25 Oct, 2012 3 commits
-
-
Howard Chu authored
-
Howard Chu authored
This reverts commit ef2092ea.
-
Howard Chu authored
-
- 23 Oct, 2012 3 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
If no data was modified in the txn, mdb_open flag changes were dropped.
-
- 22 Oct, 2012 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
Could return 1 garbage record before actual data, if starting from EOF
-
- 17 Oct, 2012 1 commit
-
-
Howard Chu authored
-
- 16 Oct, 2012 3 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
-
- 15 Oct, 2012 5 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Fix #define _GNU_SOURCE = 1 to match any command line -D_GNU_SOURCE. .gitignore += mdb_copy.
-
Hallvard Furuseth authored
Add flag MDB_ENV_ACTIVE instead of using the state of me_lfd. Require MDB_RDONLY for MDB_ROFS. Swap reader/writer mutex lock.
-
- 13 Oct, 2012 1 commit
-
-
Howard Chu authored
-
- 11 Oct, 2012 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
- 03 Oct, 2012 5 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
This can happen even on local filesystems.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
- 30 Sep, 2012 2 commits
-
-
Howard Chu authored
It only worked if the freelist was already non-empty
-
Howard Chu authored
if it was the only operation in a txn, it would be ignored.
-
- 27 Sep, 2012 1 commit
-
-
Howard Chu authored
More for 48ef27b6 Our definition of "large" data item needs to be smaller to handle more cases where a bad split is possible
-
- 19 Sep, 2012 1 commit
-
-
Howard Chu authored
return whatever the cursor is currently pointing at
-
- 18 Sep, 2012 1 commit
-
-
Howard Chu authored
-
- 17 Sep, 2012 2 commits
-
-
Howard Chu authored
page_split with newindex > split_indx
-
Howard Chu authored
Use explicit MDB_RDONLY flag
-