hyc
18cd6837b6
Fix mdb_load append option
...
Use MDB_CURRENT to avoid seeking to new key when appending DUPs.
Reinit cursor on new batch, if appending DUPs.
6 years ago
Howard Chu
b372ec4375
ITS#8324 More for Win32 NTDLL junk
...
Use GetProcAddress at runtime, avoid buildtime NTDLL link issues
6 years ago
moneromooo-monero
851bd057ec
call _exit instead of abort in release mode
...
Avoids cores being created, as they're nowadays often piped
to some call home system
7 years ago
Howard Chu
0aa4cc8028
ITS#8339 Solaris 10/11 robust mutex fixes
...
Check for PTHREAD_MUTEX_ROBUST_NP definition (this doesn't work
on Linux/glibc because they used an enum). Zero out mutex before
initing.
7 years ago
Howard Chu
edda20146e
ITS#8728 fix MDB_VL32 freeing overflow page
...
Fix #2420
7 years ago
Howard Chu
9c6eb75c65
ITS#8704 add MDB_PREVSNAPSHOT flag to mdb_env_open
...
used to open the previous snapshot, in case the latest one
is corrupted
7 years ago
hyc
6c72d6a058
Fix Android recognition
...
The official macro is __ANDROID__; ANDROID may or may not be defined.
7 years ago
Howard Chu
27c3a0ea9f
ITS#8582 keep mutex at end of struct
...
since it's variable size on Linux/glibc
8 years ago
Howard Chu
edfd7f6e07
Workaround VL32 cursor refcounting miscount
...
Don't try to deref cursor page if txn's pagelist is empty
8 years ago
Howard Chu
7442dd084a
More for Issue #855
...
Plug rpage leak in cursor_set
8 years ago
Howard Chu
66b1e13aa7
mdb_drop optimization
...
If we know there are no sub-DBs and no overflow pages, skip leaf scan.
8 years ago
Howard Chu
6225716f3c
More outputs consolidation
...
Also bumped DB VERSION to 1
Another significant speedup and space savings:
Get rid of global_output_indices, remove indirection from output to keys
This is the change warptangent described on irc but never got to finish.
8 years ago
Howard Chu
31e4e8c3a3
Resync with master
9 years ago
Howard Chu
f98fe467e9
MDB_VL32 change overflow page scan
...
Just check the requested page, don't worry about any other pages
9 years ago
Howard Chu
222e30ec97
MDB_VL32 Fix another 32bit overflow
9 years ago
Howard Chu
3ca6e853f6
Tweak mdb_strerror msg buffer
9 years ago
Howard Chu
78ad970a2c
MDB_VL32 Fix d2a5f72f73
...
VirtualAlloc is not for MDB_VL32
9 years ago
Howard Chu
1cff3974d8
WIN64 needs off_t redefined too
9 years ago
Howard Chu
d2a5f72f73
Fix --db-sync-mode on Windows64
...
only "fastest" mode was working, others would SEGV.
9 years ago
Howard Chu
b773e66877
MDB_VL32 - resync with master
...
WIN32 - close file mapping handle in env_close
cursor_unref - ignore cursor with empty stack
9 years ago
Howard Chu
ba4e217c90
Update liblmdb, unify 32/64 sources
9 years ago