Revision history for Perl extension BerkeleyDB. 0.63 21 July 2019 * added 000preret.t Dump version info in "make test" 9e17580d74662b6a3186990dd3b1469df2829503 0.62 20 July 2019 * default to /usr/local/BerkeleyDB fcc0ad8adf310f7c8cc65788806439f2f8c39f90 * __heap_exist prototype needed for db 5.2 or better 7fe4ad8d74190d7f41a816c79e5ccf044c02c7c9 * t/joint.: Silence Valgrinf https://rt.cpan.org/Ticket/Display.html?id=125605 40d03924570f8516efe4a05982f402e8ce569637 * db_remove missing txn code https://rt.cpan.org/Ticket/Display.html?id=124979 b91875a9f3f55bb779ad7a448c9fff0645d8a527 * Fix test failure when TRACE is enabled bb80b7d0fb83643ccddd8243d4c6b6ab637428df * Added BERKELEYDB_DEFINE_TRACE variable to allow TRACE to be enabled from .travis file. bd9ebf5aa149172afab55d6ba6f27d77cf08d91a * Add test with BERKELEYDB_DEFINE_TRACE set to .travis 000b1d8dffe542d6476fe78f218cc95534f1c1c3 * my_db_strerror: Add missing dTHX declaration Merge pull request https://github.com/pmqs/BerkeleyDB/pull/2 4273345d8eff5f521788b3c5e71fb291bf46a646 80ca9b77968ab84aaf8b546f2933d135202e16e0 * create .appveyor.yml 4e7b034ddbe76a7c2dcd189e1e0c935c1559aa2c * sync dbinfo from DB_File 27b499fa9dbfca78adcc7a12ada43f0b05b6ece6 0.61 30 March 2019 * Fix a couple of typos One's a copyright date out by 20 years. The other one breaks builds with 5.2 ≤ BDB < 6.2. Merge pull request https://github.com/pmqs/BerkeleyDB/pull/1 0.60 30 March 2019 * Moved source to github https://github.com/pmqs/BerkeleyDB * Add META_MERGE to Makefile.PL * Added meta-json.t & meta-yaml.t 0.58 23 January 2018 * please expose set_lg_filemode [RT #124979] 0.57 23 January 2018 * Updates for BDB 6.3 0.56 5 January 2016 * Updates for BDB 6.2 0.55 30 March 2014 * Error opening ErrFile with PerlIO_findFILE [RT #101883] * Minor updates for BDB 6.1 0.54 9th November 2013 * memory leak in CDS locking routines [RT #90134] 0.53 14th August 2013 * BerkeleyDB-0.52 fails to build on 5.18.1RC3 [RT #87771] * typo fixes [RT #86705] 0.52 7th May 2013 * Updates for BDB 6.0 - Added Blob support - Added BerkeleyDB::DbStream class to interface to Blobs - Added BlobThreshold & BlobDir option to BerkeleyDB::Env constructor - Added BlobThreshold & BlobDir option to Hash, Btree & Heap constructors - Added get_blob_threshold method to BerkeleyDB::Env - Added get_blob_dir method to BerkeleyDB::Env - Added get_blob_threshold method to the Hash, Btree & Heap - Added get_blob_dir method to the Hash, Btree & Heap * Added method $cursor->set_partial * Added method $cursor->partial_clear * $env->lock_detect dies due to incorrect version check [RT #84179] * (Memory leak in db_verify() method. (libdb < 4.2)) [RT #84409] * Fix a few croaks 0.51 19th March 2012 * Rework FETCHSIZE [RT #75691] 0.50 10th December 2011 * Updates for BDB 5.3 0.49 6th August 2011 * Documentation updated courtesy of Mike Caron * croak if attempt to freeze berkeleydb object [RT #69985] 0.48 18th June 2011 * Fixed test harness issue with Heap.t RT #68818 0.47 1st June 2011 * Add support for new Heap database format. * Changes to build with BDB 5.2 0.46 18th October 2010 * Fixed bug with db_pget when the DB_GET_BOTH flag is used. 0.45 17th October 2010 * Fixed bug with c_pget when the DB_GET_BOTH flag is used. 0.44 2nd August 2010 * Added support for db_exists and lock_detect. Thanks to Alex Lovatt for the patch. 0.43 1st August 2010 * Changes to build with BDB 5.1 - Dropped support for Server option when creating an environment. * Documantation updates. RT# 59202 * Fixed compilation error with MS Visual Studio 2005 RT# 59924 0.42 13th March 2010 * Added $db->Env method to retrieve the environment object from a database object. * Get the tied interface to use truncate in the CLEAR method if using a new enough version of Berkeley DB. 0.41 8th January 2010 * Silence "UNIVERSAL->import is deprecated" in perl 5.11 RT# 53518 0.40 7th January 2010 * Added support for set_tx_max, log_set_config, set_lk_max_lockers, set_lk_max_locks, set_lk_max_objects via the Env constructor. Parameter names are TxMax, LogConfig, MaxLockers, MaxLocks & MaxObjects respectively. RT# 50456 * seq->seq->close doesn't compile on win32. RT# 49474 0.39 6th June 2009 * Added support for BDB 4.8 - associate_foreign - set_bt_compress (no callbacks as yet). * Also added interface to - ENV->stat_print - ENV->txn_stat_print * Oldest Perl supported is now 5.005 * Fixed issue db_stat when it returned a null pointer. (#46312 rt.cpan.org) * set_msgfile API (#46313) * Fixed issue with DNM Filters & UTF8 support. Patch supplied by Torsten Foertsch. 0.38 21st February 2009 * Fixed typo in BerkleyDB.pod that broke t/pod.t 0.37 18th February 2009 * Included CDS section to the pod. * Various documentation patches from RT#42243 0.36 30th September 2008 * Added support for $ENV->log_get_config and $ENV->log_set_config. Patch supplied by Yuval Kogman (#39651 rt.cpan.org) 0.35 22nd September 2008 * Added a combination of independent patches from Claes Jakobsson and Yuval Kogman (#38896 rt.cpan.org) to allow multi-key return from a secondard database. * Added support for sequences. Initial patch from Claes Jakobsson. * Get associate to use a transaction if one is specified. #5855 from rt.cpan.org * Finish transition of test harness to use Test::More 0.34 27th March 2008 * Updates to support building with Berkeley DB version 4.7 * Typo in #ifdef for ThreadCount support. Spotted by Mark Hindley * Updated dbinfo 0.33 17th January 2008 * Added failchk, set_isalive, lock_stat_print & mutex_stat_print. Patch provided by Thomas Busch. 0.32 10th July 2007 * Updates to support Berkeley DB 4.6 * Remove all global static data from BerkeleyDB.xs. 0.31 15th Oct 2006 * Fixed DB_GET_BOTH. Tnanks to Thomas Drugeon for spotting the typo in typemap and supplying a regression test for this fix. 0.30 11th Sept 2006 * Fixed queue test harness for Berkeley DB 4.5 compliance * Added $env->lsn_reset, $txn->set_timeout, $env->set_timeout & $env->get_timeout, $txn->set_tx_max, $txn->get_tx_max 0.29 2nd July 2006 * Fixes for cursor get from secondary where primary os recno. * Added db_compact 0.28 11th June 2006 * Fixes for secondary where primary is recno. * GET_BOTH_RANGE wasn't working. It is now. * Added FreeBSD hints to README - patch supplied by David Landgren in #17675 from rt.cpan.org 0.27 1st Novemver 2005 * Added support for Berkeley DB 4.4 * Fixed secondary key issue with recno databases * Added libscan to Makefile.PL * Fixed a problem in t/subdb.t that meant it hung on Win32. * The logic for set_mutexlocks was inverted when using Berkeley DB 4.x Bug spotted by Zefram <firstname.lastname@example.org> * Transactional rename/remove added. Patch supplied by Zefram <email@example.com> 0.26 10th October 2004 * Changed to allow Building with Berkeley DB 4.3 * added cds_lock and associated methods as a convenience to allow safe updaing of database records when using Berkeley DB CDS mode. * added t/cds.t and t/pod.t * Modified the test suite to use "-ErrFile => *STDOUT" where possible. This will make it easier to diagnose build issues. * -Errfile will now accept a filehandle as well as a filename This means that -ErrFile => *STDOUT will get all extended error messages displayed directly on screen. * Added support for set_shm_key & get_shm_key. * Patch from Mark Jason Dominus to add a better error message when an odd number of parameters are passed to ParseParameters. * fixed off-by-one error in my_strdup * Fixed a problem with push, pop, shift & unshift with Queue & Recno when used in CDS mode. These methods were not using a write cursor behind the scenes. Problem reported by Pavel Hlavnicka. 0.25 1st November 2003 * Minor update to dbinfo * Fixed a bug in the test harnesses that is only apparent in perl 5.8.2. Original patch courtesy of Michael Schwern. 0.24 27th September 2003 * Mentioned comp.databases.berkeley-db in README * Builds with Berkeley DB 4.2 * The return type for db->db_fd was wrongly set at DualType - should be int. 0.23 15th June 2003 * Fixed problem where a secondary index would use the same compare callback as the primary key, regardless of what was defined for the secondary index. Problem spotted by Dave Tallman. * Also fixed a problem with the associate callback. If the value for the secondary key was not a string, the secondary key was being set incorrectly. This is now fixed. * When built with Berkeley DB 3.2 or better, all callbacks now use the BackRef pointer instead of the global CurrentDB. This was done partially to fix the secondary index problem, above. * The test harness was failing under cygwin. Now fixed. * Previous release broke TRACE. Fixed. 0.22 17th May 2003 * win32 problem with open macro fixed. 0.21 12th May 2003 * adding support for env->set_flags * adding recursion detection * win32 problem with rename fixed. * problem with sub-database name in Recno & Queue fixed. * fixed the mldbm.t test harness to work with perl 5.8.0 * added a note about not using a network drive when running the test harness. * fixed c_pget * added BerkeleyDB::Env::DB_ENV method * added support for encryption * the dbinfo script will now indicate if the database is encrypted * The CLEAR method is now CDB safe. 0.20 2nd September 2002 * More support for building with Berkeley DB 4.1.x * db->get & db->pget used the wrong output macro for DBM filters bug spotted by Aaron Ross. * db_join didn't keep a reference to the cursors it was joining. Spotted by Winton Davies. 0.19 5th June 2002 * Removed the targets that used mkconsts from Makefile.PL. They relied on a module that is not available in all versions of Perl. * added support for env->set_verbose * added support for db->truncate * added support for db->rename via BerkeleyDB::db_rename * added support for db->verify via BerkeleyDB::db_verify * added support for db->associate, db->pget & cursor->c_pget * Builds with Berkeley DB 4.1.x 0.18 6th January 2002 * Dropped support for ErrFile as a file handle. It was proving too difficult to get at the underlying FILE * in XS. Reported by Jonas Smedegaard (Debian powerpc) & Kenneth Olwing (Win32) * Fixed problem with abort macro in XSUB.h clashing with txn abort method in Berkeley DB 4.x -- patch supplied by Kenneth Olwing. * DB->set_alloc was getting called too late in BerkeleyDB.xs. This was causing problems with ActivePerl -- problem reported by Kenneth Olwing. * When opening a queue, the Len proprty set the DB_PAD flag. Should have been DB_FIXEDLEN. Fix provided by Kenneth Olwing. * Test harness fixes from Kenneth Olwing. 0.17 23 September 2001 * Fixed a bug in BerkeleyDB::Recno - reported by Niklas Paulsson. * Added log_archive - patch supplied by Benjamin Holzman * Added txn_discard * Builds with Berkeley DB 4.0.x 0.16 1 August 2001 * added support for Berkeley DB 3.3.x (but no support for any of the new features just yet) 0.15 26 April 2001 * Fixed a bug in the processing of the flags options in db_key_range. * added support for set_lg_max & set_lg_bsize * allow DB_TMP_DIR and DB_TEMP_DIR * the -Filename parameter to BerkeleyDB::Queue didn't work. * added symbol DB_CONSUME_WAIT 0.14 21st January 2001 * Silenced the warnings when build with a 64-bit Perl. * Can now build with DB 3.2.3h (part of MySQL). The test harness takes an age to do the queue test, but it does eventually pass. * Mentioned the problems that occur when perl is built with sfio. 0.13 15th January 2001 * Added support to allow this module to build with Berkeley DB 3.2 * Updated dbinfo to support Berkeley DB 3.1 & 3.2 file format changes. * Documented the Solaris 2.7 core dump problem in README. * Tidied up the test harness to fix a problem on Solaris where the "fred" directory wasn't being deleted when it should have been. * two calls to "open" clashed with a win32 macro. * size argument for hash_cb is different for Berkeley DB 3.x * Documented the issue of building on Linux. * Added -Server, -CacheSize & -LockDetect options [original patch supplied by Graham Barr] * Added support for set_mutexlocks, c_count, set_q_extentsize, key_range, c_dup * Dropped the "attempted to close a Cursor with an open transaction" error in c_close. The correct behaviour is that the cursor should be closed before committing/aborting the transaction. 0.12 2nd August 2000 * Serious bug with get fixed. Spotted by Sleepycat. * Added hints file for Solaris & Irix (courtesy of Albert Chin-A-Young) 0.11 4th June 2000 * When built with Berkeley Db 3.x there can be a clash with the close macro. * Typo in the definition of DB_WRITECURSOR * The flags parameter wasn't getting sent to db_cursor * Plugged small memory leak in db_cursor (DESTROY wasn't freeing memory) * Can be built with Berkeley DB 3.1 0.10 8th December 1999 * The DESTROY method was missing for BerkeleyDB::Env. This resulted in a memory leak. Fixed. * If opening an environment or database failed, there was a small memory leak. This has been fixed. * A thread-enabled Perl it could core when a database was closed. Problem traced to the strdup function. 0.09 29th November 1999 * the queue.t & subdb.t test harnesses were outputting a few spurious warnings. This has been fixed. 0.08 28nd November 1999 * More documentation updates * Changed reference to files in /tmp in examples.t * Fixed a typo in softCrash that caused problems when building with a thread-enabled Perl. * BerkeleyDB::Error wasn't initialised properly. * ANSI-ified all the static C functions in BerkeleyDB.xs * Added support for the following DB 3.x features: + The Queue database type + db_remove + subdatabases + db_stat for Hash & Queue 0.07 21st September 1999 * Numerous small bug fixes. * Added support for sorting duplicate values DB_DUPSORT. * Added support for DB_GET_BOTH & DB_NEXT_DUP. * Added get_dup (from DB_File). * beefed up the documentation. * Forgot to add the DB_INIT_CDB in BerkeleyDB.pm in previous release. * Merged the DBM Filter code from DB_File into BerkeleyDB. * Fixed a nasty bug where a closed transaction was still used with with dp_put, db_get etc. * Added logic to gracefully close everything whenever a fatal error happens. Previously the plug was just pulled. * It is now a fatal error to explicitly close an environment if there is still an open database; a database when there are open cursors or an open transaction; and a cursor if there is an open transaction. Using object destruction doesn't have this issue, as object references will ensure everything gets closed in the correct order. * The BOOT code now checks that the version of db.h & libdb are the same - this seems to be a common problem on Linux. * MLDBM support added. * Support for the new join cursor added. * Builds with Berkeley DB 3.x * Updated dbinfo for Berkeley DB 3.x file formats. * Deprecated the TxnMgr class. As with Berkeley DB version 3, txn_begin etc are now accessed via the environment object. 0.06 19 December 1998 * Minor modifications to get the module to build with DB 2.6.x * Added support for DB 2.6.x's Concurrent Access Method, DB_INIT_CDB. 0.05 9 November 1998 * Added a note to README about how to build Berkeley DB 2.x when using HP-UX. * Minor modifications to get the module to build with DB 2.5.x 0.04 19 May 1998 * Define DEFSV & SAVE_DEFSV if not already defined. This allows the module to be built with Perl 5.004_04. 0.03 5 May 1998 * fixed db_get with DB_SET_RECNO * fixed c_get with DB_SET_RECNO and DB_GET_RECNO * implemented BerkeleyDB::Unknown * implemented BerkeleyDB::Recno, including push, pop etc modified the txn support. 0.02 30 October 1997 * renamed module to BerkeleyDB * fixed a few bugs & added more tests 0.01 23 October 1997 * first alpha release as BerkDB.