- Jul 22, 2014
-
-
MDB is the name of the backend, LMDB is the name of the DB engine. Also update some BerkeleyDB info.
-
Quanah Gibson-Mount authored
-
Similar to #7858, another easy patch.
-
couldn't avoid ifdefs. Silence warnings.
-
On Windows64, long is the same size as int. Use size_t when we need an actual 64 bit unsigned long.
-
Quanah Gibson-Mount authored
-
Howard Chu authored
-
- Jul 21, 2014
-
-
Quanah Gibson-Mount authored
-
Howard Chu authored
-
Howard Chu authored
-
- Jul 14, 2014
-
-
Howard Chu authored
-
Howard Chu authored
Don't pass non-NULL map address unless MDB_FIXEDMAP was used.
-
- Jul 11, 2014
-
-
Howard Chu authored
-
- Jul 10, 2014
-
-
-
Quanah Gibson-Mount authored
-
- Jul 09, 2014
-
-
Howard Chu authored
Must also set in sub-cursor if deleting entire subDB
-
Howard Chu authored
-
-
-
-
Howard Chu authored
Always set the filesize when opening for writes. Otherwise can't use backups from mdb_copy.
-
Howard Chu authored
We mainly use Win32 functions, so cannot just use C-runtime strerror to return error messages. We have to use Win32-specific messages. Unfortunately, we document the API to return C-runtime error codes, so we can't just switch to all Win32 error codes.
-
Howard Chu authored
Off-by-one in end check, would complain on valid input.
-
Howard Chu authored
persist size changes from env_open() as well. This was the original behavior.
-
Howard Chu authored
This reverts commit d8e18551. And partially reverts mapsize check. Only mapsize increases are relevant.
-
Howard Chu authored
Set read txn's dbiseqs to env's. Set child txn's dbiseqs to parent's. Simplify DBI_CHANGED test, no need to check md_name. No-op dbi_close of already closed handle.
-
Howard Chu authored
-
Howard Chu authored
only update dbiseq in dbi_open on write txns
-
Howard Chu authored
dbiseqs are only checked in write txns so omit from read txns
-
Howard Chu authored
Use DBI sequence numbers to detect DBIs being closed while in use.
-
Howard Chu authored
-
Howard Chu authored
Write decreases too, not just increases. Check for any size change that was not requested by this process.
-
- Jul 08, 2014
-
-
Howard Chu authored
-
Howard Chu authored
-
Quanah Gibson-Mount authored
-
Hallvard Furuseth authored
'#ifdef MDB_DEVEL' -> '#if MDB_DEVEL' Fix comments, use actual PAGEBASE macro as originally intended. Actually enable 64K pages. Set MDB_DATA_VERSION for testing only.
-
Hallvard Furuseth authored
mdb_txn_commit(child): Give loose pages to parent. Use a pointer beyond the page header instead of mp_next, so we will not need to save/restore mp_pgno. This avoids a crash caused by references to mp_pgno.
-
Howard Chu authored
Fix in 534dcc72 was in wrong place
-
Howard Chu authored
Fix mp_lower/mp_upper to exclude PAGEHDRSZ, which means our max mp_upper is now pagesize - PAGEHDRSZ and won't overflow. Currently must define MDB_DEVEL to use. Will be default for LMDB 1.0/OpenLDAP 2.5
-
Howard Chu authored
-