upscaledb 2.1.13 - Release Notes
upscaledb Embedded Storage is a database engine written in C/C++. It is fast,
production-proven and easy to use.
This release fixes a few bugs. This is the last stable release before 2.2.0.
The most significant fixes are:
- #47: fixed bad assert in ups_cursor_move; this caused crashes in debug
mode
- #66: return with error if a database is modified by a committed
transaction which was not yet flushed to disk; this caused crashes when
closing an Environment (ups_env_close)
- #64: fixed segfault when recovering a database with a custom
compare function; deprecated ups_db_set_compare_func, use
ups_register_compare/UPS_PARAM_CUSTOM_COMPARE_NAME instead.
Also, the .NET/C# delegate for custom compare functions has been
changed, the delegate has to perform the marshalling now (see
unittests for a sample)
- issue #60: files are now truncated after a database was deleted with
ups_env_erase_db
The file format is not compatible to 2.1.12.
CALL FOR ACTION:
Are you using the "partial reads/writes"? i.e. searching or
inserting partial records with UPS_PARTIAL? If yes then please tell me -
I still remove functionality that is not used or rarely used.
New Features
Bugfixes
- issue #47: fixed bad assert in ups_cursor_move
- issue #55: correctly handling error condition if mmap fails
- issue #60: files are now truncated after a database was deleted with
ups_env_erase_db (thanks, vevova)
- issue #62: ups_info prints wrong value for "max record size"
- issue #64: fixed segfault when recovering a database with a custom
compare function; deprecated ups_db_set_compare_func, use
ups_register_compare/UPS_PARAM_CUSTOM_COMPARE_NAME instead
- issue #66: return with error if a database is modified by a committed
transaction which was not yet flushed to disk (thanks, Balazs Bamer)
- issue #67: fixed broken installation path and other "ham"/"hamsterdb"
references (thanks, Wouter Hager)
Other Changes
- Changed the .NET/C# delegate interface for custom compare functions; the
delegate has to perform the marshalling now (see unittests for a
sample)
- Now restoring the "active blob page" after recovery to reduce the
file size.
- UPS_ENABLE_RECOVERY is now an alias for UPS_ENABLE_TRANSACTIONS