Debian Codegraph @

lang/perl/BerkeleyDB/Changes

raw
1 Revision history for Perl extension BerkeleyDB.
2
3 0.50 10th DEcember 2011
4
5 * Updates for BDB 5.3
6
7 0.49 6th August 2011
8
9 * Documentation updated courtesy of Mike Caron
10
11 * croak if attempt to freeze berkeleydb object
12 [RT #69985]
13
14 0.48 18th June 2011
15
16 * Fixed test harness issue with Heap.t
17 RT #68818
18
19 0.47 1st June 2011
20
21 * Add support for new Heap database format.
22
23 * Changes to build with BDB 5.2
24
25 0.46 18th October 2010
26
27 * Fixed bug with db_pget when the DB_GET_BOTH flag is used.
28
29 0.45 17th October 2010
30
31 * Fixed bug with c_pget when the DB_GET_BOTH flag is used.
32
33 0.44 2nd August 2010
34
35 * Added support for db_exists and lock_detect.
36 Thanks to Alex Lovatt for the patch.
37
38 0.43 1st August 2010
39
40 * Changes to build with BDB 5.1
41 - Dropped support for Server option when creating an environment.
42
43 * Documantation updates.
44 RT# 59202
45
46 * Fixed compilation error with MS Visual Studio 2005
47 RT# 59924
48
49 0.42 13th March 2010
50
51 * Added $db->Env method to retrieve the environment object from a
52 database object.
53
54 * Get the tied interface to use truncate in the CLEAR method if
55 using a new enough version of Berkeley DB.
56
57 0.41 8th January 2010
58
59 * Silence "UNIVERSAL->import is deprecated" in perl 5.11
60 RT# 53518
61
62 0.40 7th January 2010
63
64 * Added support for set_tx_max, log_set_config, set_lk_max_lockers,
65 set_lk_max_locks, set_lk_max_objects via the Env constructor.
66 Parameter names are TxMax, LogConfig, MaxLockers, MaxLocks &
67 MaxObjects respectively.
68 RT# 50456
69
70 * seq->seq->close doesn't compile on win32.
71 RT# 49474
72
73 0.39 6th June 2009
74
75 * Added support for BDB 4.8
76 - associate_foreign
77 - set_bt_compress (no callbacks as yet).
78
79 * Also added interface to
80 - ENV->stat_print
81 - ENV->txn_stat_print
82
83 * Oldest Perl supported is now 5.005
84
85 * Fixed issue db_stat when it returned a null pointer.
86 (#46312 rt.cpan.org)
87
88 * Fixed issue with DNM Filters & UTF8 support.
89 Patch supplied by Torsten Foertsch.
90
91 0.38 21st February 2009
92
93 * Fixed typo in BerkleyDB.pod that broke t/pod.t
94
95 0.37 18th February 2009
96
97 * Included CDS section to the pod.
98
99 * Various documentation patches from RT#42243
100
101 0.36 30th September 2008
102
103 * Added support for $ENV->log_get_config and $ENV->log_set_config.
104 Patch supplied by Yuval Kogman (#39651 rt.cpan.org)
105
106 0.35 22nd September 2008
107
108 * Added a combination of independent patches from Claes Jakobsson
109 and Yuval Kogman (#38896 rt.cpan.org) to allow multi-key return
110 from a secondard database.
111
112 * Added support for sequences. Initial patch from Claes Jakobsson.
113
114 * Get associate to use a transaction if one is specified.
115 #5855 from rt.cpan.org
116
117 * Finish transition of test harness to use Test::More
118
119 0.34 27th March 2008
120
121 * Updates to support building with Berkeley DB version 4.7
122
123 * Typo in #ifdef for ThreadCount support. Spotted by Mark Hindley
124
125 * Updated dbinfo
126
127 0.33 17th January 2008
128
129 * Added failchk, set_isalive, lock_stat_print & mutex_stat_print.
130 Patch provided by Thomas Busch.
131
132 0.32 10th July 2007
133
134 * Updates to support Berkeley DB 4.6
135
136 * Remove all global static data from BerkeleyDB.xs.
137
138 0.31 15th Oct 2006
139
140 * Fixed DB_GET_BOTH. Tnanks to Thomas Drugeon for spotting the typo
141 in typemap and supplying a regression test for this fix.
142
143 0.30 11th Sept 2006
144
145 * Fixed queue test harness for Berkeley DB 4.5 compliance
146
147 * Added $env->lsn_reset, $txn->set_timeout, $env->set_timeout &
148 $env->get_timeout, $txn->set_tx_max, $txn->get_tx_max
149
150 0.29 2nd July 2006
151
152 * Fixes for cursor get from secondary where primary os recno.
153
154 * Added db_compact
155
156 0.28 11th June 2006
157
158 * Fixes for secondary where primary is recno.
159
160 * GET_BOTH_RANGE wasn't working. It is now.
161
162 * Added FreeBSD hints to README - patch supplied by David Landgren
163 in #17675 from rt.cpan.org
164
165 0.27 1st Novemver 2005
166
167 * Added support for Berkeley DB 4.4
168
169 * Fixed secondary key issue with recno databases
170
171 * Added libscan to Makefile.PL
172
173 * Fixed a problem in t/subdb.t that meant it hung on Win32.
174
175 * The logic for set_mutexlocks was inverted when using Berkeley DB 4.x
176 Bug spotted by Zefram <[email protected]>
177
178 * Transactional rename/remove added.
179 Patch supplied by Zefram <[email protected]>
180
181
182 0.26 10th October 2004
183
184 * Changed to allow Building with Berkeley DB 4.3
185
186 * added cds_lock and associated methods as a convenience to allow
187 safe updaing of database records when using Berkeley DB CDS mode.
188
189 * added t/cds.t and t/pod.t
190
191 * Modified the test suite to use "-ErrFile => *STDOUT" where
192 possible. This will make it easier to diagnose build issues.
193
194 * -Errfile will now accept a filehandle as well as a filename
195 This means that -ErrFile => *STDOUT will get all extended error
196 messages displayed directly on screen.
197
198 * Added support for set_shm_key & get_shm_key.
199
200 * Patch from Mark Jason Dominus to add a better error message
201 when an odd number of parameters are passed to ParseParameters.
202
203 * fixed off-by-one error in my_strdup
204
205 * Fixed a problem with push, pop, shift & unshift with Queue &
206 Recno when used in CDS mode. These methods were not using
207 a write cursor behind the scenes.
208 Problem reported by Pavel Hlavnicka.
209
210 0.25 1st November 2003
211
212 * Minor update to dbinfo
213
214 * Fixed a bug in the test harnesses that is only apparent in
215 perl 5.8.2. Original patch courtesy of Michael Schwern.
216
217 0.24 27th September 2003
218
219 * Mentioned comp.databases.berkeley-db in README
220
221 * Builds with Berkeley DB 4.2
222
223 * The return type for db->db_fd was wrongly set at DualType -
224 should be int.
225
226 0.23 15th June 2003
227
228 * Fixed problem where a secondary index would use the same
229 compare callback as the primary key, regardless of what was
230 defined for the secondary index.
231 Problem spotted by Dave Tallman.
232
233 * Also fixed a problem with the associate callback. If the value
234 for the secondary key was not a string, the secondary key was
235 being set incorrectly. This is now fixed.
236
237 * When built with Berkeley DB 3.2 or better, all callbacks now use
238 the BackRef pointer instead of the global CurrentDB. This was
239 done partially to fix the secondary index problem, above.
240
241 * The test harness was failing under cygwin. Now fixed.
242
243 * Previous release broke TRACE. Fixed.
244
245 0.22 17th May 2003
246
247 * win32 problem with open macro fixed.
248
249 0.21 12th May 2003
250
251 * adding support for env->set_flags
252 * adding recursion detection
253 * win32 problem with rename fixed.
254 * problem with sub-database name in Recno & Queue fixed.
255 * fixed the mldbm.t test harness to work with perl 5.8.0
256 * added a note about not using a network drive when running the
257 test harness.
258 * fixed c_pget
259 * added BerkeleyDB::Env::DB_ENV method
260 * added support for encryption
261 * the dbinfo script will now indicate if the database is encrypted
262 * The CLEAR method is now CDB safe.
263
264 0.20 2nd September 2002
265
266 * More support for building with Berkeley DB 4.1.x
267 * db->get & db->pget used the wrong output macro for DBM filters
268 bug spotted by Aaron Ross.
269 * db_join didn't keep a reference to the cursors it was joining.
270 Spotted by Winton Davies.
271
272 0.19 5th June 2002
273 * Removed the targets that used mkconsts from Makefile.PL. They relied
274 on a module that is not available in all versions of Perl.
275 * added support for env->set_verbose
276 * added support for db->truncate
277 * added support for db->rename via BerkeleyDB::db_rename
278 * added support for db->verify via BerkeleyDB::db_verify
279 * added support for db->associate, db->pget & cursor->c_pget
280 * Builds with Berkeley DB 4.1.x
281
282
283 0.18 6th January 2002
284 * Dropped support for ErrFile as a file handle. It was proving too
285 difficult to get at the underlying FILE * in XS.
286 Reported by Jonas Smedegaard (Debian powerpc) & Kenneth Olwing (Win32)
287 * Fixed problem with abort macro in XSUB.h clashing with txn abort
288 method in Berkeley DB 4.x -- patch supplied by Kenneth Olwing.
289 * DB->set_alloc was getting called too late in BerkeleyDB.xs.
290 This was causing problems with ActivePerl -- problem reported
291 by Kenneth Olwing.
292 * When opening a queue, the Len proprty set the DB_PAD flag.
293 Should have been DB_FIXEDLEN. Fix provided by Kenneth Olwing.
294 * Test harness fixes from Kenneth Olwing.
295
296 0.17 23 September 2001
297 * Fixed a bug in BerkeleyDB::Recno - reported by Niklas Paulsson.
298 * Added log_archive - patch supplied by Benjamin Holzman
299 * Added txn_discard
300 * Builds with Berkeley DB 4.0.x
301
302 0.16 1 August 2001
303 * added support for Berkeley DB 3.3.x (but no support for any of the
304 new features just yet)
305
306 0.15 26 April 2001
307 * Fixed a bug in the processing of the flags options in
308 db_key_range.
309 * added support for set_lg_max & set_lg_bsize
310 * allow DB_TMP_DIR and DB_TEMP_DIR
311 * the -Filename parameter to BerkeleyDB::Queue didn't work.
312 * added symbol DB_CONSUME_WAIT
313
314 0.14 21st January 2001
315 * Silenced the warnings when build with a 64-bit Perl.
316 * Can now build with DB 3.2.3h (part of MySQL). The test harness
317 takes an age to do the queue test, but it does eventually pass.
318 * Mentioned the problems that occur when perl is built with sfio.
319
320 0.13 15th January 2001
321 * Added support to allow this module to build with Berkeley DB 3.2
322 * Updated dbinfo to support Berkeley DB 3.1 & 3.2 file format
323 changes.
324 * Documented the Solaris 2.7 core dump problem in README.
325 * Tidied up the test harness to fix a problem on Solaris where the
326 "fred" directory wasn't being deleted when it should have been.
327 * two calls to "open" clashed with a win32 macro.
328 * size argument for hash_cb is different for Berkeley DB 3.x
329 * Documented the issue of building on Linux.
330 * Added -Server, -CacheSize & -LockDetect options
331 [original patch supplied by Graham Barr]
332 * Added support for set_mutexlocks, c_count, set_q_extentsize,
333 key_range, c_dup
334 * Dropped the "attempted to close a Cursor with an open transaction"
335 error in c_close. The correct behaviour is that the cursor
336 should be closed before committing/aborting the transaction.
337
338 0.12 2nd August 2000
339 * Serious bug with get fixed. Spotted by Sleepycat.
340 * Added hints file for Solaris & Irix (courtesy of Albert Chin-A-Young)
341
342 0.11 4th June 2000
343 * When built with Berkeley Db 3.x there can be a clash with the close
344 macro.
345 * Typo in the definition of DB_WRITECURSOR
346 * The flags parameter wasn't getting sent to db_cursor
347 * Plugged small memory leak in db_cursor (DESTROY wasn't freeing
348 memory)
349 * Can be built with Berkeley DB 3.1
350
351 0.10 8th December 1999
352 * The DESTROY method was missing for BerkeleyDB::Env. This resulted in
353 a memory leak. Fixed.
354 * If opening an environment or database failed, there was a small
355 memory leak. This has been fixed.
356 * A thread-enabled Perl it could core when a database was closed.
357 Problem traced to the strdup function.
358
359 0.09 29th November 1999
360 * the queue.t & subdb.t test harnesses were outputting a few
361 spurious warnings. This has been fixed.
362
363 0.08 28nd November 1999
364 * More documentation updates
365 * Changed reference to files in /tmp in examples.t
366 * Fixed a typo in softCrash that caused problems when building
367 with a thread-enabled Perl.
368 * BerkeleyDB::Error wasn't initialised properly.
369 * ANSI-ified all the static C functions in BerkeleyDB.xs
370 * Added support for the following DB 3.x features:
371 + The Queue database type
372 + db_remove
373 + subdatabases
374 + db_stat for Hash & Queue
375
376 0.07 21st September 1999
377 * Numerous small bug fixes.
378 * Added support for sorting duplicate values DB_DUPSORT.
379 * Added support for DB_GET_BOTH & DB_NEXT_DUP.
380 * Added get_dup (from DB_File).
381 * beefed up the documentation.
382 * Forgot to add the DB_INIT_CDB in BerkeleyDB.pm in previous release.
383 * Merged the DBM Filter code from DB_File into BerkeleyDB.
384 * Fixed a nasty bug where a closed transaction was still used with
385 with dp_put, db_get etc.
386 * Added logic to gracefully close everything whenever a fatal error
387 happens. Previously the plug was just pulled.
388 * It is now a fatal error to explicitly close an environment if there
389 is still an open database; a database when there are open cursors or
390 an open transaction; and a cursor if there is an open transaction.
391 Using object destruction doesn't have this issue, as object
392 references will ensure everything gets closed in the correct order.
393 * The BOOT code now checks that the version of db.h & libdb are the
394 same - this seems to be a common problem on Linux.
395 * MLDBM support added.
396 * Support for the new join cursor added.
397 * Builds with Berkeley DB 3.x
398 * Updated dbinfo for Berkeley DB 3.x file formats.
399 * Deprecated the TxnMgr class. As with Berkeley DB version 3,
400 txn_begin etc are now accessed via the environment object.
401
402 0.06 19 December 1998
403 * Minor modifications to get the module to build with DB 2.6.x
404 * Added support for DB 2.6.x's Concurrent Access Method, DB_INIT_CDB.
405
406 0.05 9 November 1998
407 * Added a note to README about how to build Berkeley DB 2.x
408 when using HP-UX.
409 * Minor modifications to get the module to build with DB 2.5.x
410
411 0.04 19 May 1998
412 * Define DEFSV & SAVE_DEFSV if not already defined. This allows
413 the module to be built with Perl 5.004_04.
414
415 0.03 5 May 1998
416 * fixed db_get with DB_SET_RECNO
417 * fixed c_get with DB_SET_RECNO and DB_GET_RECNO
418 * implemented BerkeleyDB::Unknown
419 * implemented BerkeleyDB::Recno, including push, pop etc
420 modified the txn support.
421
422 0.02 30 October 1997
423 * renamed module to BerkeleyDB
424 * fixed a few bugs & added more tests
425
426 0.01 23 October 1997
427 * first alpha release as BerkDB.
428