BerkeleyDB

 view release on metacpan or  search on metacpan

BerkeleyDB.xs  view on Meta::CPAN

	  dMY_CXT;
	INIT:
	  ckActive_Database(db->active) ;
	CODE:
#ifndef AT_LEAST_DB_4_8
          softCrash("associate_foreign needs Berkeley DB 4.8 or later") ;
#else
	  saveCurrentDB(db) ;
	  if (callback != &PL_sv_undef)
	  {
          //softCrash("associate_foreign does not support callbacks yet") ;
          secondary->associated_foreign = newSVsv(callback) ;
          callback_ptr = ( secondary->recno_or_queue
                                ? associate_foreign_cb_recno
                                : associate_foreign_cb);
	  }
	  secondary->primary_recno_or_queue = db->recno_or_queue ;
	  secondary->secondary_db = TRUE;
      RETVAL = db_associate_foreign(db, secondary, callback_ptr, flags);
#endif
	OUTPUT:

Changes  view on Meta::CPAN

          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)

Changes  view on Meta::CPAN


        * 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.



( run in 0.706 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )