File: changelog_4_0_14.html

package info (click to toggle)
db4.8 4.8.30-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 112,668 kB
  • ctags: 53,848
  • sloc: ansic: 177,324; java: 66,060; tcl: 61,580; cs: 27,778; cpp: 24,761; sh: 15,649; perl: 14,013; xml: 8,309; makefile: 2,303; awk: 1,749; sql: 390; python: 26; php: 22; asm: 14
file content (473 lines) | stat: -rw-r--r-- 22,205 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>4.0.14 Change Log</title>
    <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
    <link rel="start" href="index.html" title="Berkeley DB Programmer's Reference Guide" />
    <link rel="up" href="upgrade_4_0_toc.html" title="Chapter 37. Upgrading Berkeley DB 3.3 applications to Berkeley DB 4.0" />
    <link rel="prev" href="upgrade_4_0_disk.html" title="Release 4.0: Upgrade Requirements" />
    <link rel="next" href="upgrade_4_1_toc.html" title="Chapter 38. Upgrading Berkeley DB 4.0 applications to Berkeley DB 4.1" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">4.0.14 Change Log</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="upgrade_4_0_disk.html">Prev</a> </td>
          <th width="60%" align="center">Chapter 37. Upgrading Berkeley DB 3.3 applications to Berkeley DB 4.0</th>
          <td width="20%" align="right"> <a accesskey="n" href="upgrade_4_1_toc.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <div class="titlepage">
        <div>
          <div>
            <h2 class="title" style="clear: both"><a id="changelog_4_0_14"></a>4.0.14 Change Log</h2>
          </div>
        </div>
      </div>
      <div class="toc">
        <dl>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643321">Major New Features:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643502">General Environment Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643516">General Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643534">Btree Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643563">Hash Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643582">Queue Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643556">Recno Access Method Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643571">C++ API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643596">Java API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643610">Tcl API Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643623">RPC Client/Server Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643662">XA Resource Manager Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643526">Locking Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643550">Logging Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643765">Memory Pool Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643725">Transaction Subsystem Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643683">Utility Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643824">Database or Log File On-Disk Format Changes:</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_4_0_14.html#id1643438">Configuration, Documentation, Portability and Build Changes:</a>
            </span>
          </dt>
        </dl>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643321"></a>Major New Features:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Group commit. [#42]</li>
            <li>Single-master replication. [#44]</li>
            <li>Support for VxWorks AE; Vxworks support certified by WindRiver Systems Inc. [#4401]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643502"></a>General Environment Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>The db_env_set_pageyield interface has been replaced by a new flag (DB_YIELDCPU) for the DB_ENV-&gt;set_flags interface.</li>
            <li>The db_env_set_panicstate interface has been replaced by a new flag (DB_PANIC_STATE) for the DB_ENV-&gt;set_flags interface.</li>
            <li>The db_env_set_region_init interface has been replaced by a new flag (DB_REGION_INIT) for the DB_ENV-&gt;set_flags interface.</li>
            <li>The db_env_set_tas_spins interface has been replaced by the DB_ENV-&gt;set_tas_spins method.</li>
            <li>The DB_ENV-&gt;set_mutexlocks interface has been replaced by a new flag (DB_NOLOCKING) for the DB_ENV-&gt;set_flags interface.</li>
            <li>Fix a bug where input values from the DB_CONFIG file could overflow.</li>
            <li>The C API lock, log, memory pool and transaction interfaces have been converted to method based interfaces; see the Upgrade documentation for specific details. [#920]</li>
            <li>Fix a bug in which some DB_ENV configuration information could be lost by a failed DB_ENV-&gt;open command. [#4608]</li>
            <li>Fix a bug where Berkeley DB could fail if the application attempted to allocate new database pages while the system was unable to write new log file buffers. [#4928]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643516"></a>General Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Add a new flag (DB_GET_BOTH_RANGE) that adds support for range searches within sorted duplicate data sets. [#3378]</li>
            <li>Fix a bug in which the DB-&gt;get or DB-&gt;pget methods, when used with secondary indices, could incorrectly leave an internally-created database cursor open. [#4465]</li>
            <li>The DB-&gt;set_alloc method can no longer be called when the database is part of a database environment. [#4599]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643534"></a>Btree Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where a lock could be leaked when a thread calling DB-&gt;stat on a Btree database was selected to resolve a deadlock.  [#4509]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643563"></a>Hash Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where bulk return using the MULTIPLE_KEY flag on a Hash database would only return entries from a single bucket. [#4313]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643582"></a>Queue Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Delete extent files whenever the leading record is deleted, instead of only when a DB_CONSUME operation was performed. [#4307]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643556"></a>Recno Access Method Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where the delete of a record in a Recno database could leak a lock in non-transactional applications. [#4351]</li>
            <li>Fix a bug where the DB_THREAD flag combined with a backing source file could cause an infinite loop. [#4581]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643571"></a>C++ API Changes:</h3>
            </div>
          </div>
        </div>
        <div class="blockquote">
          <blockquote class="blockquote">None.</blockquote>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643596"></a>Java API Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Added implementation of DbEnv.lock_vec for Java. [#4094] Added some minimal protection so that the same Java Dbt cannot be used twice in the same API call, this will often catch multithreading programming errors with Dbts. [#4094]</li>
            <li>Fix a bug in which a Db.put call with the Db.DB_APPEND would fail to correctly return the newly put record's record number. [#4527]</li>
            <li>Fixed problems occurring in multithreaded java apps that use callbacks. [#4467]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643610"></a>Tcl API Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug in which large integers could be handled incorrectly by the Tcl interface on 64-bit machines. [#4371]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643623"></a>RPC Client/Server Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>The DB_ENV-&gt;set_server interface has been removed.</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643662"></a>XA Resource Manager Changes:</h3>
            </div>
          </div>
        </div>
        <div class="blockquote">
          <blockquote class="blockquote">None.</blockquote>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643526"></a>Locking Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>The C++ (Java) API DbLock::put (DbLock.put) method has been changed to be a method off the DbEnv handle rather than the DbLock handle.</li>
            <li>Locker IDs may now wrap-around. [#864]</li>
            <li>Explicitly allocated locker IDs must now be freed. [#864]</li>
            <li>Add per-environment, per-lock and per-transaction interfaces to support timeout based lock requests and "deadlock" detection.  [#1855]</li>
            <li>Add support for interrupting a waiting locker. [#1976]</li>
            <li>Implemented DbEnv.lock_vec for Java. [#4094]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643550"></a>Logging Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where the size of a log file could not be set to the default value.  [#4567]</li>
            <li>Fix a bug where specifying a non-default log file size could cause other processes to be unable to join the environment and read its log files. [#4567]</li>
            <li>Fix a bug where Berkeley DB could keep open file descriptors to log files returned by the DB_ENV-&gt;log_archive method (or the db_archive utility), making it impossible to move or remove them on Windows systems. [#3969]</li>
            <li>Replace the log_get interface with a cursor into the log file. [#0043]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643765"></a>Memory Pool Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Add the DB_ODDFILESIZE flag to the DB_MPOOLFILE-&gt;open method supporting files not a multiple of the underlying page size in length.</li>
            <li>Convert memp_XXX functional interfaces to a set of methods, either base methods off the DB_ENV handle or methods off of a DB_MPOOLFILE handle. [#920]</li>
            <li>Add the DB_ODDFILESIZE flag to the DB_MPOOLFILE-&gt;open method supporting files not a multiple of the underlying page size in length.</li>
            <li>Fix a bug where threads of control could deadlock opening a database environment with multiple memory pool caches. [#4696]</li>
            <li>Fix a bug where the space needed for per-file memory pool statistics was incorrectly calculated. [#4772]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643725"></a>Transaction Subsystem Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Transaction IDs may now wrap-around. [#864]</li>
            <li>Release read locks before performing logging operations at commit. [#4219]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643683"></a>Utility Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug in which the db_dump utility would incorrectly attach to transaction, locking, or logging regions when salvaging, and thus could not be used to salvage databases in environments where these regions were present. [#4305]</li>
            <li>Fix a bug in which the DB salvager could produce incorrectly formatted output for certain classes of corrupt database. [#4305]</li>
            <li>Fix a bug in which the DB salvager could incorrectly salvage files containing multiple databases. [#4305]</li>
            <li>Fix a bug where unprintable characters in subdatabase names could cause a dump of a database that could not then be loaded. [#4688]</li>
            <li>Increase the size of the cache created by the db_stat and db_verify utilities to avoid failure on large databases.  [#4688] [#4787]</li>
            <li>Fix a bug in which a database verification performed with the DB_ORDERCHKONLY flag could fail incorrectly. [#4757]</li>
            <li>Fix a bug which caused db_stat to display incorrect information about GB size caches.  [#4812]</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643824"></a>Database or Log File On-Disk Format Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>The on-disk log format changed.</li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="id1643438"></a>Configuration, Documentation, Portability and Build Changes:</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>Fix a bug where Win9X systems region names could collide.</li>
            <li>Fix a bug where configuring Berkeley DB to build the C++ API without also configuring for a shared library build would fail to build the C++ library.  [#4343]</li>
            <li>Change Berkeley DB installation to not strip binaries if --enable-debug was specified as a configuration option. [#4318]</li>
            <li>Add the -pthread flag to AIX, FreeBSD and OSF/1 library loads. [#4350]</li>
            <li>Fix a bug where the Berkeley DB 1.85 compatibility API failed to load in the 3.3.11 release. [#4368]</li>
            <li>Port the Berkeley DB utility programs to the VxWorks environment. [#4378]</li>
            <li>Made change to configuration so that dynamic libraries link correctly when C++ is used on AIX. [#4381]</li>
            <li> Fix a variety of problems that prevented the Berkeley DB source tree from building on systems without ANSI C compiler support (for example, SunOS 4.X). [#4398]</li>
            <li>Added missing DbMultiple*Iterator Java files to Makefile.in. [#4404]</li>
            <li>Fix a bug that could prevent the db_dump185 utility from dumping Berkeley DB version 1.86 hash databases. [#4418]</li>
            <li>Reduce the number of calls setting the errno value, to improve performance on Windows/NT in MT environments.  [#4432]</li>
            <li>Fix for Darwin (and probably some other) OS's that were getting 'yes' or other garbage in generated makefiles in place of a shared library name. [#4453]</li>
            <li>C++: Remove inlining for constructor of tmpString internal class.  This fixes warnings on Solaris profiling builds. [#4473]</li>
            <li>DB now restarts system calls that are interrupted by signals. [#4480]</li>
            <li>Fixed warnings for compiling Java native code on Solaris and OSF/1. [#4571]</li>
            <li>Added better configuration for Java on Tru64 (OSF/1), Solaris,</li>
            <li> Java files are now built as jar files.  Berkeley DB classes are put into db.jar (which is an installed file on UNIX) and examples are put into dbexamples.jar.  The classes directory is now a subdirectory of the build directory, rather than in java/classes. [#4575]</li>
            <li>Support Cygwin installation process. [#4611]</li>
            <li>Correct the Java secondary_key_create method signature. [#4777]</li>
            <li>Export additional Berkeley DB interfaces on Windows to support application-specific logging and recovery. [#4827]</li>
            <li>Always complain when using version 2.96 of the gcc compiler. [#4878]</li>
            <li>Add compile and load-time flags to configure for threads on UnixWare and OpenUNIX. [#4552] [#4950]</li>
          </ol>
        </div>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="upgrade_4_0_disk.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="upgrade_4_0_toc.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="upgrade_4_1_toc.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">Release 4.0: Upgrade Requirements </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> Chapter 38. Upgrading Berkeley DB 4.0 applications to Berkeley DB 4.1</td>
        </tr>
      </table>
    </div>
  </body>
</html>