- Nov 27, 2012
-
-
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.
-
- Nov 05, 2012
-
-
Howard Chu authored
Wasn't pushing the optimal half of the array onto the stack, thus used more stack than expected -> overrun.
-
- Oct 25, 2012
-
-
Howard Chu authored
-
Howard Chu authored
This reverts commit ef2092ea.
-
Howard Chu authored
-
- Oct 23, 2012
-
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
If no data was modified in the txn, mdb_open flag changes were dropped.
-
- Oct 22, 2012
-
-
Howard Chu authored
-
Howard Chu authored
Could return 1 garbage record before actual data, if starting from EOF
-
- Oct 17, 2012
-
-
Howard Chu authored
-
- Oct 16, 2012
-
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
-
- Oct 15, 2012
-
-
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.
-
- Oct 13, 2012
-
-
Howard Chu authored
-
- Oct 11, 2012
-
-
Howard Chu authored
-
Howard Chu authored
-
- Oct 03, 2012
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
This can happen even on local filesystems.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
- Sep 30, 2012
-
-
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.
-
- Sep 27, 2012
-
-
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
-
- Sep 19, 2012
-
-
Howard Chu authored
return whatever the cursor is currently pointing at
-
- Sep 18, 2012
-
-
Howard Chu authored
-
- Sep 17, 2012
-
-
Howard Chu authored
page_split with newindex > split_indx
-
Howard Chu authored
Use explicit MDB_RDONLY flag
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Do not try shared lock when closing or after error. Track file lock state to decide. Change meaning of *excl to reflect file lock state.
-
Hallvard Furuseth authored
Drop the sem_unlink() error checks, which could prevent the 2nd unlink. Instead use O_EXCL in sem_open(). This makes "open+close the database" the API for trying to clean away the old semaphores, if they were left behind by a previous run.
-