Releases: iraikov/chicken-lmdb
Support for environment flags
This release adds support for environment flags provided by a flags argument to db-begin and db-flags procedure which constructs an appropriate bit mask given one more flag names as keyword arguments. Thanks to alicemaz for the initial suggestion and code.
Refactored error handling
This release introduces a Scheme-level routine to handle exceptions, as it turns out the C-level exception handler was unsafe for GC. Thanks to alicemaz for reporting.
db-delete
Fixes to build dependencies
This release includes added build dependencies to the .egg file
Port to CHICKEN 5
This release includes a port to CHICKEN 5 and renaming of all API functions to start with db- instead of lmdb.
Reverted use of abort in error handler; added lmdb-abort and lmdb-max-key-size
This release partially reverts the addition of composite conditions to use the C procedure chicken_throwException instead of abort, and adds lmdb-abort to abort transactions and lmdb-max-key-size to obtain the maximum key size.
Use composite condition for exceptions
This release includes a contribution by Caolan McMahon to use (exn lmdb ...) style composite conditions to signal lmdb exceptions.
Bug fix in handling of mapsize parameter
This release includes a fix to use the correct type of the mapsize parameter (size_t).
Bug fix in lmdb-count
This release removes the duplicate definition of lmdb-count
Explicit transaction support
This release adds routines lmdb-begin, which opens a database and begins a transaction, and lmdb-end, which commits the transaction and closes the database. All database operations now require lmdb-begin and lmdb-end.