summaryrefslogtreecommitdiff
path: root/docs/installation/changelog_6_0.html
blob: 7518678039ce548eafd997c947efc65f036fddf7 (plain)
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
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
<?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>Berkeley DB Library Version 12.1.6.0 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 Installation and Build Guide" />
    <link rel="up" href="upgrade_60_toc.html" title="Chapter 10.  Upgrading Berkeley DB 11.2.5.3 applications to Berkeley DB 12.1.6.0" />
    <link rel="prev" href="drop_sup60.html" title="Dropped Support" />
    <link rel="next" href="upgrade_53_toc.html" title="Chapter 11.  Upgrading Berkeley DB 11.2.5.2 applications to Berkeley DB 11.2.5.3" />
  </head>
  <body>
    <div xmlns="" class="navheader">
      <div class="libver">
        <p>Library Version 12.1.6.1</p>
      </div>
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Berkeley DB Library Version 12.1.6.0 Change Log</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="drop_sup60.html">Prev</a> </td>
          <th width="60%" align="center">Chapter 10.  Upgrading Berkeley DB 11.2.5.3 applications to Berkeley DB 12.1.6.0 </th>
          <td width="20%" align="right"> <a accesskey="n" href="upgrade_53_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_6_0"></a>Berkeley DB Library Version 12.1.6.0 Change Log</h2>
          </div>
        </div>
      </div>
      <div class="toc">
        <dl>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1103464">Database or Log File On-Disk Format Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1085208">New Features</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1091952">Database Environment Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1109616">Concurrent Data Store Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1092040">Access Method Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1102752">API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1105448">SQL-specific API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1118096">Tcl-specific API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1103848">Java-specific API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1108320">C#-specific API Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1118512">Replication Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1110216">Locking Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1117712">Logging Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1110304">Memory Pool Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1100424">Mutex Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1117416">Transaction Subsystem Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1129976">Test Suite Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1127624">Utility Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1137784">Configuration, Documentation, Sample Apps, Portability and Build Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1130360">Example Changes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1140648">Miscellaneous Bug Fixes</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1142544">Deprecated Features</a>
            </span>
          </dt>
          <dt>
            <span class="sect2">
              <a href="changelog_6_0.html#idp1143680">Known Bugs</a>
            </span>
          </dt>
        </dl>
      </div>
      <p>
        This is the changelog for Berkeley DB
        12<span class="emphasis"><em>c</em></span> Release 1 (library
        version 12.1.6.0).
    </p>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1103464"></a>Database or Log File On-Disk Format Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 The log file format changed in 12.1.6.0.
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1085208"></a>New Features</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Added an alternate storage format called blobs, which improves the read and update performance of very large data items. Interface available through C, C#, C++ and Java APIs. [#19332]
            </p>
            </li>
            <li>
              <p>
 Added several pragmas to the SQL layer that configure and give information on HA SQL applications, such as the number of sites in the replication group, or configuring election priority of a site. [#20227]
            </p>
            </li>
            <li>
              <p>
 Added a BDBSQL_CONCURRENT_CONNECTIONS flag to the SQL API to allow database locking to be disabled.  Useful when there are only readers in the database. [#20928]
            </p>
            </li>
            <li>
              <p>
 When running Replication Manager in multiple processes, if the replication process quits and there is an available subordinate process, the subordinate process automatically takes over as the replication process. [#20969]
            </p>
            </li>
            <li>
              <p>
 Added replication views/partial replication feature. Feature available through C, C#, C++ and Java APIs. [#21062]
            </p>
            </li>
            <li>
              <p>
 DPL enhancements to work with JDK7. [#21101]
            </p>
            </li>
            <li>
              <p>
 Added encryption support for the Android JDBC driver. [#21129]
            </p>
            </li>
            <li>
              <p>
 Applications which use snapshot isolation and long-running transactions will, in many instances, see reduced use of the cache. This leads to improved performance by reducing the need for temporary freezer files. [#21324]
            </p>
            </li>
            <li>
              <p>
 Added mpool stat fields st_mvcc_resued, st_oddfsize_detect and st_oddfsize_resolve to C#. [#21325]
            </p>
            </li>
            <li>
              <p>
 Added support database partitioning in C# APIs. [#21474]
            </p>
            </li>
            <li>
              <p>
 Added a per-thread cache for the locker struct which stores lock identifiers, such as transaction ids or the locker id returned by DB_ENV-&gt;lock_id(). This can improve concurrency of programs which use DB_ENV-&gt;set_thread_count(). [#21591]
            </p>
            </li>
            <li>
              <p>
 Port utilities to Windows Mobile. [#21636]
            </p>
            </li>
            <li>
              <p>
 Expose 3 new repmgr stat values and a new DB_REPMGR_SITE flag value to C# and Java APIs. [#21687]
            </p>
            </li>
            <li>
              <p>
 Added support for localizing error messages in UTF-8 characters, and added a section about how to build localized library and an ICU example in Programmer's Reference Guide. [#21280]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1091952"></a>Database Environment Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Redundant whitespaces are now ignored in DB_CONFIG lines pertaining to directories. [#20158]
            </p>
            </li>
            <li>
              <p>
 Fixed bugs when attempting to open non-DB files as if they were databases. If encryption was active, an assertion failure would occur. If encryption was not active, the error message "BDB0178 Encrypted database: no encryption flag" would incorrectly imply that a password was required.  [#21408]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1109616"></a>Concurrent Data Store Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 None
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1092040"></a>Access Method Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug that could allocate a heap data page in a region after the region creation has been undone.  [#20939]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug in heap that prevented it from working in mixed-endian configurations. [#21016]
            </p>
            </li>
            <li>
              <p>
 Enhance the search performance for Btree access method when the keys share a common prefix. [#21216]
            </p>
            </li>
            <li>
              <p>
 Fixed bugs with the byte swapping of heap pages. Now heap databases can be moved between little-endian and big-endian architectures. [#21387]
            </p>
            </li>
            <li>
              <p>
 Fix a race condition where a cursor in the process of being cleaned up could be accessed by another thread of control. [#21714]
            </p>
            </li>
            <li>
              <p>
 Duplicating the position of a cursor on a partitioned database will no longer result in a crash.  [#22195]
            </p>
            </li>
            <li>
              <p>
 Fixed an assertion error when closing a joined cursor. [#22398]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1102752"></a>API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Change the sequence's cachesize and the delta parameter of DB_SEQUENCE-&gt;get to be of type u_int32_t instead of int32_t. [#21552]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug with the DB_MPOOLFILE-&gt;set_maxsize API.  In previous releases the file was allowed to grow one page larger than the configured limit. [#21867]
            </p>
            </li>
            <li>
              <p>
 Change the comparison function in DB-&gt;set_bt_compare, DB-&gt;set_dup_compare and DB-&gt;set_h_compare to accept an extra 'size_t *locp' parameter. [#22235]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1105448"></a>SQL-specific API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Added the PRAGMA large_record_opt, which when enabled can improve the read and update performance of very large records. [#19332]
            </p>
            </li>
            <li>
              <p>
 Added support for multi-process access to the database in SQL HA applications.  [#21050]
            </p>
            </li>
            <li>
              <p>
 In-memory databases can now be created without passing the flag SQLITE_OPEN_CREATE. [#21456]
            </p>
            </li>
            <li>
              <p>
 Fix a bug in the SQL API where setting the page size to 64 K would cause an error.  Also fixed an associated memory leak in SQL online backup. [#21460]
            </p>
            </li>
            <li>
              <p>
 Add bdbsql_log_buffer pragma to allow setting of log buffer size. [#21471]
            </p>
            </li>
            <li>
              <p>
 Upgraded SQLite to version 3.7.13. [#21641]
            </p>
            </li>
            <li>
              <p>
 Fixed a mutex leak with multi-prcess access to the database in SQL HA applications. [#21714]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug that could cause jdbc build to fail on ARM-Linux using gnueabi gcc. [#22123]
            </p>
            </li>
            <li>
              <p>
 Upgraded SQLite to version 3.7.16.2. [#22349]
            </p>
            </li>
            <li>
              <p>
 Upgraded ADO.NET to version 1.0.85.0. [#22405]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1118096"></a>Tcl-specific API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Support blob storage APIs in Tcl. [#19332]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1103848"></a>Java-specific API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug where EnvironmentConfig.setCreateDir() was not correctly configuring the environment.  [#21127]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where Database.verify() was not correctly configuring the db. [#22401]
            </p>
            </li>
            <li>
              <p>
 Fixed a false error message that could be printed when creating a transaction on a replication client in Java. [#21671]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1108320"></a>C#-specific API Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Clean up many C# build warnings. [#22285]
            </p>
            </li>
            <li>
              <p>
 Fixed SWIG typemap defintions for C# interface. [#18509]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1118512"></a>Replication Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed several assertion failures that could result when using failchk and replication. [#19765]
            </p>
            </li>
            <li>
              <p>
 Provide an error when the local site defined during internal initialization is inconsistent with an earlier definition.  [#20870]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where replication clients were incorrectly flushing the log when the DB_TXN_WRITE_NOSYNC flag was specified.  [#20964]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where a valid invocation of the DB_ENV-&gt;repmgr_start() method would fail after a previous invocation that supplied an invalid nthreads parameter value.  A BDB3640 error was being incorrectly generated. [#21289]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where the calculation of the number of required master lease grants enforced that a transaction must be present on a strict majority of replication group sites.  It is sufficient that a transaction be present on at least half of the replication group sites, which in some cases reduces the number of required lease grants.  [#21329]
            </p>
            </li>
            <li>
              <p>
 Fixed a recovery issue on the client where an incorrect checkpoint was being selected causing recovery to go to an incorrect point.  [#21342]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug that could result in a crash due to an incorrect re-request on a site that just won an election.  [#21344]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where logs would never get archived if there are 2 sites and various combinations of failures. [#21448]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where we were not detecting the fact that DB_TXN_SNAPSHOT was being used with an HA client.  Clients are by definition read only, so snapshot transactions are not permitted. [#21601]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where the determination of whether or not a site is peer was incorrectly determined. [#21722]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where a Replication Manager master could stop functioning after accepting an obsolete group membership site list from another site. [#21804]
            </p>
            </li>
            <li>
              <p>
 Reduce the multiple data streams that can sometimes occur if rerequest times are shorter than the time it takes to switch log files or perform a checkpoint at a client site.  [#21843]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug that a site is removed unexpectedly from the replication group when the replication group loses the old master's confirmation of adding the site during a master change. [#21875]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where a master site could crash when removing a site if the removed site closes its connections before the master completes its final steps of the operation.  [#22050]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where an election never happens after the loss of the master when master leases are in use. [#22120]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1110216"></a>Locking Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug that could cause a trap if a lock timeout occured while opening a database. [#21098]
            </p>
            </li>
            <li>
              <p>
 Fixed a hang which could occur if there were no more space for lockers. [#21774]
            </p>
            </li>
            <li>
              <p>
 Fixed a potential race condition when building the deadlock detection graph which, under rare conditions, might cause a invalid address fault. [#22261]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1117712"></a>Logging Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug that DB_ENV-&gt;log_get_config did not work correctly when it was called before DB_ENV-&gt;open. [#21359]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1110304"></a>Memory Pool Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug in the DB_ENV-&gt;get_cache_max API that caused it to return an incorrect value and a bug in the DB_ENV-&gt;set_cachesize API that caused incorrect behavior when changing the size of an existing cache. [#21146]
            </p>
            </li>
            <li>
              <p>
 Fixed a race condition occurring when trying to get information about a file and the file is being extended by the OS. [#21193]
            </p>
            </li>
            <li>
              <p>
 Corrected error messages in several memory pool configuration functions. [#21779]
            </p>
            </li>
            <li>
              <p>
 Fixed several memory leak items identified by Purify runs. [#22283]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1100424"></a>Mutex Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed an undefined symbol error (MUTEX_IS_OWNED) when configuring with --enable-diagnostic --disable-mutexsupport. [#21145]
            </p>
            </li>
            <li>
              <p>
 Fix a bug where we were not properly aligning mutexes in DB_PRIVATE regions when the application configured an alignment. [#21491]
            </p>
            </li>
            <li>
              <p>
 Fix a race condition between DB_ENV-&gt;failchk() and the allocation of a mutex. [#21796]
            </p>
            </li>
            <li>
              <p>
 Limit the default mutex spin count to be at most 200, to avoid excessive spinning on systems with hundreds of hyperthreads. [#21463]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1117416"></a>Transaction Subsystem Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 None
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1129976"></a>Test Suite Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Added support for get/set_heapsize. [#21510]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1127624"></a>Utility Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a bug where calling DB-&gt;set_partition with a key array required users to keep the memory array valid until after the database was opened. [#18350]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug that caused DB_ENV-&gt;backup to stop early if DB_BACKUP_FILES was not set and a non-DB file was in the data directory. [#21076]
            </p>
            </li>
            <li>
              <p>
 Fixed a problem with db_hotbackup's -F option, which could cause a segmentation violation. Also replaced an unclear error message. [#21184]
            </p>
            </li>
            <li>
              <p>
 Fixed three problems with db_hotbackup's backup of transaction logs. A hot backup did not use any configured log directory, but would try to open the logs in the environment home.  The second fix corrected an error path, in which the memory was freed by the wrong function, possibly causing a guard byte error. The third fix fixed the issue that a wrong message would be displayed when only "-l" was specified. [#21313]
            </p>
            </li>
            <li>
              <p>
 Fixed a spurious "No such file or directory" (ENOENT) error when running db_archive in an environment with an empty queue database. [#21541]
            </p>
            </li>
            <li>
              <p>
 Fixed bugs in compaction of large keys in the upper levels of btrees. [#21569]
            </p>
            </li>
            <li>
              <p>
 Most  utilities no longer operate on replication clients which are being automatically initialized. The DB_REP_LOCKOUT error is now returned. [#21593]
            </p>
            </li>
            <li>
              <p>
 Fixed a resource leak in the db-&gt;verify() function for btrees. The bug would slow down verification and possibly cause it to run out of memory. [##21917]
            </p>
            </li>
            <li>
              <p>
 Removed a potential hang when compacting databases with many duplicates. [#21975]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where we were not returning an error when trying to compact a heap database. [#22063]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug in the error handling of db_log_verify which would cause a segmenation violation if there were not enough space to create its temporary databases. [#22187]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1137784"></a>Configuration, Documentation, Sample Apps, Portability and Build Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fix an odbc configure issue which was causing ODBC build failure with SQL API. [#21490]
            </p>
            </li>
            <li>
              <p>
 Disabled encryption by default in SQL API on Linux, completed build options for encryption in SQL and SQL JDBC on Linux, Windows and Android, and updated build process for the three platforms in Installation Guide. [#21872]
            </p>
            </li>
            <li>
              <p>
 Use "-xO2" as the default optimization level for the Sun Workshop compiler. [#22057]
            </p>
            </li>
            <li>
              <p>
 Fix an "opcode not supported" error on MIPS platforms whose assembler defaults to the MIPS1 instruction set. [#22065]
            </p>
            </li>
            <li>
              <p>
 Provide a consistent way to turn on/off encryption for db,sql,jdbc libraries on Unix. [#22158]
            </p>
            </li>
            <li>
              <p>
 Added the compile option CONFIG_TEST when using debug mode in the db_csharp Windows project, to be consistent with the db Windows project. [#22300]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1130360"></a>Example Changes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Port the C bulk example to C++. [#19541]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1140648"></a>Miscellaneous Bug Fixes</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Fixed a race condition that could cause a crash if 2 processes opened the same SQL database at the same time. [#21041]
            </p>
            </li>
            <li>
              <p>
 Fixed an assert failure in the btree comparison function which caused memory to be allocated to the wrong thread.  [#21232]
            </p>
            </li>
            <li>
              <p>
 Fixed a race condition in the SQL handle cache locking code.  [#21265]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug in the SQL code that prevented the table from being created when BDBSQL_FILE_PER_TABLE is defined. [#21417]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug that some fields of the partition key DBTs returned from DB-&gt;get_partition_keys may not be initialized. [#21474]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug that prevented a sub-database from being created under the directory identified in DB-&gt;set_create_dir. [#21603]
            </p>
            </li>
            <li>
              <p>
 Fixed a bug where dbenv-&gt;mp_mtxcount was not being used correctly. [#21768]
            </p>
            </li>
            <li>
              <p>
 Cleaned a few variable initialization problems that were causing failures on 64-bit Windows. [#21850]
            </p>
            </li>
            <li>
              <p>
 Improved the randomness of the 20 byte unique fileid generator on Windows. [#22470]
            </p>
            </li>
            <li>
              <p>
 Fixed a possible assertion failure in the XA Transaction Manager feature. [#22450]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1142544"></a>Deprecated Features</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Tornado 2.0 is not supported, and VxWorks versions older than 6.9 are not supported. [#21877]
            </p>
            </li>
          </ol>
        </div>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <div class="titlepage">
          <div>
            <div>
              <h3 class="title"><a id="idp1143680"></a>Known Bugs</h3>
            </div>
          </div>
        </div>
        <div class="orderedlist">
          <ol type="1">
            <li>
              <p>
 Prepared transactions may not remove databases. An error EINVAL message will be returned by TXN-&gt;prepare() if the transaction removed any databases.
            </p>
            </li>
            <li>
              <p>
 Databases containing BLOBs are not portable between machines of opposite endianness.
            </p>
            </li>
            <li>
              <p>
 The latest version of the ADO.NET driver uses a new database connection close function that does not clean up the database completely, leaving transactions active.  In our build projects that we distribute we added the preprocessor definition INTEROP_LEGACY_CLOSE so the older version will be used.   Removing this can cause hangs.
            </p>
            </li>
            <li>
              <p>
 The db_log_verify utility does not currently implement support for the "-D" option. Also, the "-d" option does not work for an environment with multiple databases. For environments with sub-databases, some unexpected warnings will be thrown. [#22136]
            </p>
            </li>
            <li>
              <p>
 Aborting a prepared transaction that removes a database or does operations on a blob cannot undo the operations (although the call to txn-&gt;prepare throws an error if a user tries to do that). [#22226]
            </p>
            </li>
            <li>
              <p>
 Using the DB_FAILCHK flag with just the DB_RECOVER flag can cause processes to hang.  DB_RECOVER will cause the environment to be rebuilt, and when DB_FAILCHK is specified, it runs fail check as the last step in the open. It is done afer the environment has been rebuilt.  There isnt anything for fail check to really do in this case.   The hang can occur if a separate process also uses this combination which would mean the environment is rebuilt again and it could conflict with the first process if it is doing the fail check. [#22419]
            </p>
            </li>
            <li>
              <p>
 A rare race condition in the XA transaction manager can return the error XAER_PROTO in a one-phase commit. [#22450]
            </p>
            </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="drop_sup60.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="upgrade_60_toc.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="upgrade_53_toc.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">Dropped Support </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> Chapter 11.  Upgrading Berkeley DB 11.2.5.2 applications to Berkeley DB 11.2.5.3 </td>
        </tr>
      </table>
    </div>
  </body>
</html>