| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 |
<title>Chapter 5. Upgrading Berkeley DB 4.4 applications to Berkeley DB 4.5</title> |
| 7 |
<link rel="stylesheet" href="gettingStarted.css" type="text/css" /> |
| 8 |
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 |
<link rel="start" href="index.html" title="Berkeley DB Upgrade Guide" /> |
| 10 |
<link rel="up" href="index.html" title="Berkeley DB Upgrade Guide" /> |
| 11 |
<link rel="prev" href="changelog_4_6.html" title="Berkeley DB 4.6.21 Change Log" /> |
| 12 |
<link rel="next" href="upgrade_4_5_deprecate.html" title="deprecated interfaces" /> |
| 13 |
</head> |
| 14 |
<body> |
| 15 |
<div xmlns="" class="navheader"> |
| 16 |
<div class="libver"> |
| 17 |
<p>Library Version 11.2.5.3</p> |
| 18 |
</div> |
| 19 |
<table width="100%" summary="Navigation header"> |
| 20 |
<tr> |
| 21 |
<th colspan="3" align="center">Chapter 5. Upgrading Berkeley DB 4.4 applications to Berkeley DB 4.5</th> |
| 22 |
</tr> |
| 23 |
<tr> |
| 24 |
<td width="20%" align="left"><a accesskey="p" href="changelog_4_6.html">Prev</a> </td> |
| 25 |
<th width="60%" align="center"> </th> |
| 26 |
<td width="20%" align="right"> <a accesskey="n" href="upgrade_4_5_deprecate.html">Next</a></td> |
| 27 |
</tr> |
| 28 |
</table> |
| 29 |
<hr /> |
| 30 |
</div> |
| 31 |
<div class="chapter" lang="en" xml:lang="en"> |
| 32 |
<div class="titlepage"> |
| 33 |
<div> |
| 34 |
<div> |
| 35 |
<h2 class="title"><a id="upgrade_4_5_toc"></a>Chapter 5. Upgrading Berkeley DB 4.4 applications to Berkeley DB 4.5</h2> |
| 36 |
</div> |
| 37 |
</div> |
| 38 |
</div> |
| 39 |
<div class="toc"> |
| 40 |
<p> |
| 41 |
<b>Table of Contents</b> |
| 42 |
</p> |
| 43 |
<dl> |
| 44 |
<dt> |
| 45 |
<span class="sect1"> |
| 46 |
<a href="upgrade_4_5_toc.html#upgrade_4_5_intro">Introduction</a> |
| 47 |
</span> |
| 48 |
</dt> |
| 49 |
<dt> |
| 50 |
<span class="sect1"> |
| 51 |
<a href="upgrade_4_5_deprecate.html">deprecated interfaces</a> |
| 52 |
</span> |
| 53 |
</dt> |
| 54 |
<dt> |
| 55 |
<span class="sect1"> |
| 56 |
<a href="upgrade_4_5_alive.html">DB->set_isalive</a> |
| 57 |
</span> |
| 58 |
</dt> |
| 59 |
<dt> |
| 60 |
<span class="sect1"> |
| 61 |
<a href="upgrade_4_5_elect.html">DB_ENV->rep_elect</a> |
| 62 |
</span> |
| 63 |
</dt> |
| 64 |
<dt> |
| 65 |
<span class="sect1"> |
| 66 |
<a href="upgrade_4_5_rep_set.html">Replication method naming</a> |
| 67 |
</span> |
| 68 |
</dt> |
| 69 |
<dt> |
| 70 |
<span class="sect1"> |
| 71 |
<a href="upgrade_4_5_rep_event.html">Replication events</a> |
| 72 |
</span> |
| 73 |
</dt> |
| 74 |
<dt> |
| 75 |
<span class="sect1"> |
| 76 |
<a href="upgrade_4_5_memp.html">Memory Pool API</a> |
| 77 |
</span> |
| 78 |
</dt> |
| 79 |
<dt> |
| 80 |
<span class="sect1"> |
| 81 |
<a href="upgrade_4_5_paniccall.html">DB_ENV->set_paniccall</a> |
| 82 |
</span> |
| 83 |
</dt> |
| 84 |
<dt> |
| 85 |
<span class="sect1"> |
| 86 |
<a href="upgrade_4_5_pagesize.html">DB->set_pagesize</a> |
| 87 |
</span> |
| 88 |
</dt> |
| 89 |
<dt> |
| 90 |
<span class="sect1"> |
| 91 |
<a href="upgrade_4_5_collect.html">Collections API</a> |
| 92 |
</span> |
| 93 |
</dt> |
| 94 |
<dt> |
| 95 |
<span class="sect1"> |
| 96 |
<a href="upgrade_4_5_config.html">--enable-pthread_self</a> |
| 97 |
</span> |
| 98 |
</dt> |
| 99 |
<dt> |
| 100 |
<span class="sect1"> |
| 101 |
<a href="upgrade_4_5_source.html">Recno backing text source files</a> |
| 102 |
</span> |
| 103 |
</dt> |
| 104 |
<dt> |
| 105 |
<span class="sect1"> |
| 106 |
<a href="upgrade_4_5_applog.html">Application-specific logging</a> |
| 107 |
</span> |
| 108 |
</dt> |
| 109 |
<dt> |
| 110 |
<span class="sect1"> |
| 111 |
<a href="upgrade_4_5_disk.html">Upgrade Requirements</a> |
| 112 |
</span> |
| 113 |
</dt> |
| 114 |
<dt> |
| 115 |
<span class="sect1"> |
| 116 |
<a href="changelog_4_5_20.html">Berkeley DB 4.5.20 Change Log</a> |
| 117 |
</span> |
| 118 |
</dt> |
| 119 |
<dd> |
| 120 |
<dl> |
| 121 |
<dt> |
| 122 |
<span class="sect2"> |
| 123 |
<a href="changelog_4_5_20.html#idp50532016">Database or Log File On-Disk Format Changes:</a> |
| 124 |
</span> |
| 125 |
</dt> |
| 126 |
<dt> |
| 127 |
<span class="sect2"> |
| 128 |
<a href="changelog_4_5_20.html#idp50511048">New Features:</a> |
| 129 |
</span> |
| 130 |
</dt> |
| 131 |
<dt> |
| 132 |
<span class="sect2"> |
| 133 |
<a href="changelog_4_5_20.html#idp50513672">Database Environment Changes:</a> |
| 134 |
</span> |
| 135 |
</dt> |
| 136 |
<dt> |
| 137 |
<span class="sect2"> |
| 138 |
<a href="changelog_4_5_20.html#idp50516704">Concurrent Data Store Changes:</a> |
| 139 |
</span> |
| 140 |
</dt> |
| 141 |
<dt> |
| 142 |
<span class="sect2"> |
| 143 |
<a href="changelog_4_5_20.html#idp50520456">General Access Method Changes:</a> |
| 144 |
</span> |
| 145 |
</dt> |
| 146 |
<dt> |
| 147 |
<span class="sect2"> |
| 148 |
<a href="changelog_4_5_20.html#idp50542544">Btree Access Method Changes:</a> |
| 149 |
</span> |
| 150 |
</dt> |
| 151 |
<dt> |
| 152 |
<span class="sect2"> |
| 153 |
<a href="changelog_4_5_20.html#idp50536608">Hash Access Method Changes:</a> |
| 154 |
</span> |
| 155 |
</dt> |
| 156 |
<dt> |
| 157 |
<span class="sect2"> |
| 158 |
<a href="changelog_4_5_20.html#idp50533200">Queue Access Method Changes:</a> |
| 159 |
</span> |
| 160 |
</dt> |
| 161 |
<dt> |
| 162 |
<span class="sect2"> |
| 163 |
<a href="changelog_4_5_20.html#idp50539504">Recno Access Method Changes:</a> |
| 164 |
</span> |
| 165 |
</dt> |
| 166 |
<dt> |
| 167 |
<span class="sect2"> |
| 168 |
<a href="changelog_4_5_20.html#idp50539760">C++-specific API Changes:</a> |
| 169 |
</span> |
| 170 |
</dt> |
| 171 |
<dt> |
| 172 |
<span class="sect2"> |
| 173 |
<a href="changelog_4_5_20.html#idp50541672">Java-specific API Changes:</a> |
| 174 |
</span> |
| 175 |
</dt> |
| 176 |
<dt> |
| 177 |
<span class="sect2"> |
| 178 |
<a href="changelog_4_5_20.html#idp50542632">Java collections and bind API Changes:</a> |
| 179 |
</span> |
| 180 |
</dt> |
| 181 |
<dt> |
| 182 |
<span class="sect2"> |
| 183 |
<a href="changelog_4_5_20.html#idp50546176">Tcl-specific API Changes:</a> |
| 184 |
</span> |
| 185 |
</dt> |
| 186 |
<dt> |
| 187 |
<span class="sect2"> |
| 188 |
<a href="changelog_4_5_20.html#idp50548752">RPC-specific Client/Server Changes:</a> |
| 189 |
</span> |
| 190 |
</dt> |
| 191 |
<dt> |
| 192 |
<span class="sect2"> |
| 193 |
<a href="changelog_4_5_20.html#idp50547824">Replication Changes:</a> |
| 194 |
</span> |
| 195 |
</dt> |
| 196 |
<dt> |
| 197 |
<span class="sect2"> |
| 198 |
<a href="changelog_4_5_20.html#idp50557816">XA Resource Manager Changes:</a> |
| 199 |
</span> |
| 200 |
</dt> |
| 201 |
<dt> |
| 202 |
<span class="sect2"> |
| 203 |
<a href="changelog_4_5_20.html#idp50534496">Locking Subsystem Changes:</a> |
| 204 |
</span> |
| 205 |
</dt> |
| 206 |
<dt> |
| 207 |
<span class="sect2"> |
| 208 |
<a href="changelog_4_5_20.html#idp50532216">Logging Subsystem Changes:</a> |
| 209 |
</span> |
| 210 |
</dt> |
| 211 |
<dt> |
| 212 |
<span class="sect2"> |
| 213 |
<a href="changelog_4_5_20.html#idp50542056">Memory Pool Subsystem Changes:</a> |
| 214 |
</span> |
| 215 |
</dt> |
| 216 |
<dt> |
| 217 |
<span class="sect2"> |
| 218 |
<a href="changelog_4_5_20.html#idp50543016">Transaction Subsystem Changes:</a> |
| 219 |
</span> |
| 220 |
</dt> |
| 221 |
<dt> |
| 222 |
<span class="sect2"> |
| 223 |
<a href="changelog_4_5_20.html#idp50556608">Utility Changes:</a> |
| 224 |
</span> |
| 225 |
</dt> |
| 226 |
<dt> |
| 227 |
<span class="sect2"> |
| 228 |
<a href="changelog_4_5_20.html#idp50557880">Configuration, Documentation, Portability and Build Changes:</a> |
| 229 |
</span> |
| 230 |
</dt> |
| 231 |
</dl> |
| 232 |
</dd> |
| 233 |
</dl> |
| 234 |
</div> |
| 235 |
<div class="sect1" lang="en" xml:lang="en"> |
| 236 |
<div class="titlepage"> |
| 237 |
<div> |
| 238 |
<div> |
| 239 |
<h2 class="title" style="clear: both"><a id="upgrade_4_5_intro"></a>Introduction</h2> |
| 240 |
</div> |
| 241 |
</div> |
| 242 |
</div> |
| 243 |
<p>The following pages describe how to upgrade applications coded against |
| 244 |
the Berkeley DB 4.4 release interfaces to the Berkeley DB 4.5 release interfaces. |
| 245 |
This information does not describe how to upgrade Berkeley DB 1.85 release |
| 246 |
applications.</p> |
| 247 |
</div> |
| 248 |
</div> |
| 249 |
<div class="navfooter"> |
| 250 |
<hr /> |
| 251 |
<table width="100%" summary="Navigation footer"> |
| 252 |
<tr> |
| 253 |
<td width="40%" align="left"><a accesskey="p" href="changelog_4_6.html">Prev</a> </td> |
| 254 |
<td width="20%" align="center"> </td> |
| 255 |
<td width="40%" align="right"> <a accesskey="n" href="upgrade_4_5_deprecate.html">Next</a></td> |
| 256 |
</tr> |
| 257 |
<tr> |
| 258 |
<td width="40%" align="left" valign="top">Berkeley DB 4.6.21 Change Log </td> |
| 259 |
<td width="20%" align="center"> |
| 260 |
<a accesskey="h" href="index.html">Home</a> |
| 261 |
</td> |
| 262 |
<td width="40%" align="right" valign="top"> deprecated interfaces</td> |
| 263 |
</tr> |
| 264 |
</table> |
| 265 |
</div> |
| 266 |
</body> |
| 267 |
</html> |