Archive

Archive for February, 2012

hamsterdb: release 2.0.1

February 19th, 2012

This release adds a few minor features like setting a custom path for log files and re-enabling approximate matching for use with Transactions. A few bugs were fixed as well.

New Features

Approximate matching now works if Transactions are enabled (only for ham_find)
Added new parameter HAM_PARAM_LOG_DIRECTORY to specify the directory where the log file and the journal files are stored

Bugfixes

Win32 release builds no longer crash when using Transactions
Win32: fixed build issue if HAM_DISABLE_COMPRESSION is defined (thanks, Andy Thalmann (http://www.softdev.ch))
hamsterdb 2.0.0 failed to load database files created with hamsterdb 1.x because of a bad version check
Fixed bug where HAM_ONLY_DUPLICATES was ignored when used in a Transaction (thanks, Mark Ruijter)

Other Changes

The internal ham_device_t structure was rewritten as a C++ class. If you use this structure to overwrite the device handling then you have to rewrite your code.
Now using the native Win32 API for os_pwrite and os_pread (thanks, Andy Thalmann (http://www.softdev.ch))
Added a public macro HAM_API_REVISION to allow users to programmatically distinguish between new and old interface of ham_txn_begin

Files are available for download here: http://hamsterdb.com/download.

chris Coding, Databases, hamsterdb, Libraries