summaryrefslogtreecommitdiff
path: root/docs/gsg/CXX
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gsg/CXX')
-rw-r--r--docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdfbin411727 -> 412855 bytes
-rw-r--r--docs/gsg/CXX/CoreCursorUsage.html8
-rw-r--r--docs/gsg/CXX/CoreDBAdmin.html2
-rw-r--r--docs/gsg/CXX/CoreDbCXXUsage.html4
-rw-r--r--docs/gsg/CXX/CoreEnvUsage.html2
-rw-r--r--docs/gsg/CXX/Cursors.html2
-rw-r--r--docs/gsg/CXX/DBEntry.html2
-rw-r--r--docs/gsg/CXX/DBOpenFlags.html2
-rw-r--r--docs/gsg/CXX/DbCXXUsage.html33
-rw-r--r--docs/gsg/CXX/DeleteEntryWCursor.html2
-rw-r--r--docs/gsg/CXX/Positioning.html2
-rw-r--r--docs/gsg/CXX/PutEntryWCursor.html2
-rw-r--r--docs/gsg/CXX/ReplacingEntryWCursor.html2
-rw-r--r--docs/gsg/CXX/accessmethods.html2
-rw-r--r--docs/gsg/CXX/btree.html18
-rw-r--r--docs/gsg/CXX/cachesize.html2
-rw-r--r--docs/gsg/CXX/concepts.html2
-rw-r--r--docs/gsg/CXX/coreExceptions.html2
-rw-r--r--docs/gsg/CXX/coredbclose.html2
-rw-r--r--docs/gsg/CXX/coreindexusage.html18
-rw-r--r--docs/gsg/CXX/databaseLimits.html11
-rw-r--r--docs/gsg/CXX/databases.html2
-rw-r--r--docs/gsg/CXX/dbErrorReporting.html2
-rw-r--r--docs/gsg/CXX/dbconfig.html4
-rw-r--r--docs/gsg/CXX/environments.html2
-rw-r--r--docs/gsg/CXX/gettingit.html4
-rw-r--r--docs/gsg/CXX/index.html10
-rw-r--r--docs/gsg/CXX/indexes.html2
-rw-r--r--docs/gsg/CXX/introduction.html4
-rw-r--r--docs/gsg/CXX/joins.html2
-rw-r--r--docs/gsg/CXX/keyCreator.html2
-rw-r--r--docs/gsg/CXX/moreinfo.html20
-rw-r--r--docs/gsg/CXX/preface.html4
-rw-r--r--docs/gsg/CXX/readSecondary.html2
-rw-r--r--docs/gsg/CXX/returns.html2
-rw-r--r--docs/gsg/CXX/secondaryCursor.html2
-rw-r--r--docs/gsg/CXX/secondaryDelete.html9
-rw-r--r--docs/gsg/CXX/usingDbt.html2
38 files changed, 100 insertions, 95 deletions
diff --git a/docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdf b/docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdf
index cfe7fa54..5f667e33 100644
--- a/docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdf
+++ b/docs/gsg/CXX/BerkeleyDB-Core-Cxx-GSG.pdf
Binary files differ
diff --git a/docs/gsg/CXX/CoreCursorUsage.html b/docs/gsg/CXX/CoreCursorUsage.html
index cdb1011c..054f8fb0 100644
--- a/docs/gsg/CXX/CoreCursorUsage.html
+++ b/docs/gsg/CXX/CoreCursorUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -94,7 +94,7 @@
Remember that you can find the complete implementation of this application
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -111,7 +111,7 @@
function.
</p>
<a id="cxx_cursor10"></a>
- <pre class="programlisting">// File: example_database_read.cpp
+ <pre class="programlisting">// File: excxx_example_database_read.cpp
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;cstdlib&gt;
@@ -232,7 +232,7 @@ show_vendor(MyDb &amp;vendorDB, const char *vendor)
// Set the search key to the vendor's name
// vendor is explicitly cast to char * to stop a compiler
// complaint.
- Dbt key((char *)vendor, strlen(vendor) + 1);
+ Dbt key((char *)vendor, (u_int32_t)strlen(vendor) + 1);
// Make sure we use the memory we set aside for the VENDOR
// structure rather than the memory that DB allocates.
diff --git a/docs/gsg/CXX/CoreDBAdmin.html b/docs/gsg/CXX/CoreDBAdmin.html
index 4e5bc9e0..7b45c95c 100644
--- a/docs/gsg/CXX/CoreDBAdmin.html
+++ b/docs/gsg/CXX/CoreDBAdmin.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/CoreDbCXXUsage.html b/docs/gsg/CXX/CoreDbCXXUsage.html
index 4f8243f5..ef795b9b 100644
--- a/docs/gsg/CXX/CoreDbCXXUsage.html
+++ b/docs/gsg/CXX/CoreDbCXXUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -51,7 +51,7 @@
Note that you can find the complete implementation of these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
diff --git a/docs/gsg/CXX/CoreEnvUsage.html b/docs/gsg/CXX/CoreEnvUsage.html
index 458aaf9d..847a9f80 100644
--- a/docs/gsg/CXX/CoreEnvUsage.html
+++ b/docs/gsg/CXX/CoreEnvUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/Cursors.html b/docs/gsg/CXX/Cursors.html
index 28559a34..3d78df40 100644
--- a/docs/gsg/CXX/Cursors.html
+++ b/docs/gsg/CXX/Cursors.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/DBEntry.html b/docs/gsg/CXX/DBEntry.html
index b75e47cf..ed61942c 100644
--- a/docs/gsg/CXX/DBEntry.html
+++ b/docs/gsg/CXX/DBEntry.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/DBOpenFlags.html b/docs/gsg/CXX/DBOpenFlags.html
index 8f51d48d..5674efb0 100644
--- a/docs/gsg/CXX/DBOpenFlags.html
+++ b/docs/gsg/CXX/DBOpenFlags.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/DbCXXUsage.html b/docs/gsg/CXX/DbCXXUsage.html
index 5c4b7133..68217b30 100644
--- a/docs/gsg/CXX/DbCXXUsage.html
+++ b/docs/gsg/CXX/DbCXXUsage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -46,7 +46,7 @@
Again, remember that you can find the complete implementation for these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -146,10 +146,10 @@ public:
{
price_ = 0.0;
quantity_ = 0;
- category_.clear();
- name_.clear();
- vendor_.clear();
- sku_.clear();
+ category_ = "";
+ name_ = "";
+ vendor_ = "";
+ sku_ = "";
} </pre>
<p>
Next we implement our constructors. The default constructor simply calls
@@ -252,7 +252,7 @@ public:
void
packString(char *buffer, std::string &amp;theString)
{
- int string_size = theString.size() + 1;
+ size_t string_size = theString.size() + 1;
memcpy(buffer+bufLen_, theString.c_str(), string_size);
bufLen_ += string_size;
}
@@ -261,7 +261,7 @@ public:
std::string category_, name_, vendor_, sku_;
double price_;
long quantity_;
- int bufLen_;
+ size_t bufLen_;
char databuf_[500];
}; </pre>
</div>
@@ -279,7 +279,7 @@ public:
this example program. However, as always you can find the complete
implementation for this program here:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -288,7 +288,7 @@ public:
We begin with the normal include directives and forward declarations:
</p>
<a id="cxx_dbt16"></a>
- <pre class="programlisting">// File: example_database_load.cpp
+ <pre class="programlisting">// File: excxx_example_database_load.cpp
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;cstdlib&gt;
@@ -334,11 +334,12 @@ main(int argc, char *argv[])
MyDb inventoryDB(databaseHome, iDbName);
MyDb vendorDB(databaseHome, vDbName);
+ // Load the inventory database
+ loadInventoryDB(inventoryDB, inventoryFile);
+
// Load the vendor database
loadVendorDB(vendorDB, vendorFile);
- // Load the inventory database
- loadInventoryDB(inventoryDB, inventoryFile);
} catch(DbException &amp;e) {
std::cerr &lt;&lt; "Error loading databases. " &lt;&lt; std::endl;
std::cerr &lt;&lt; e.what() &lt;&lt; std::endl;
@@ -407,7 +408,7 @@ loadVendorDB(MyDb &amp;vendorDB, std::string &amp;vendorFile)
my_vendor.zipcode, my_vendor.phone_number,
my_vendor.sales_rep, my_vendor.sales_rep_phone);
- Dbt key(my_vendor.name, strlen(my_vendor.name) + 1);
+ Dbt key(my_vendor.name, (u_int32_t)strlen(my_vendor.name) + 1);
Dbt data(&amp;my_vendor, sizeof(VENDOR));
vendorDB.getDb().put(NULL, &amp;key, &amp;data, 0);
@@ -448,7 +449,7 @@ loadVendorDB(MyDb &amp;vendorDB, std::string &amp;vendorFile)
int
getNextPound(std::string &amp;theString, std::string &amp;substring)
{
- int pos = theString.find("#");
+ size_t pos = theString.find("#");
substring.assign(theString, 0, pos);
theString.assign(theString, pos + 1, theString.size());
return (pos);
@@ -460,7 +461,7 @@ loadInventoryDB(MyDb &amp;inventoryDB, std::string &amp;inventoryFile)
{
InventoryData inventoryData;
std::string substring;
- int nextPound;
+ size_t nextPound;
std::ifstream inFile(inventoryFile.c_str(), std::ios::in);
if (!inFile)
@@ -498,7 +499,7 @@ loadInventoryDB(MyDb &amp;inventoryDB, std::string &amp;inventoryFile)
inventoryData.setVendor(substring);
void *buff = (void *)inventoryData.getSKU().c_str();
- int size = inventoryData.getSKU().size()+1;
+ size_t size = inventoryData.getSKU().size()+1;
Dbt key(buff, size);
buff = inventoryData.getBuffer();
diff --git a/docs/gsg/CXX/DeleteEntryWCursor.html b/docs/gsg/CXX/DeleteEntryWCursor.html
index 3ee189bc..83a0eb94 100644
--- a/docs/gsg/CXX/DeleteEntryWCursor.html
+++ b/docs/gsg/CXX/DeleteEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/Positioning.html b/docs/gsg/CXX/Positioning.html
index a66a3bda..e32b99d2 100644
--- a/docs/gsg/CXX/Positioning.html
+++ b/docs/gsg/CXX/Positioning.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/PutEntryWCursor.html b/docs/gsg/CXX/PutEntryWCursor.html
index e8add67f..00e490c5 100644
--- a/docs/gsg/CXX/PutEntryWCursor.html
+++ b/docs/gsg/CXX/PutEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/ReplacingEntryWCursor.html b/docs/gsg/CXX/ReplacingEntryWCursor.html
index 08e93059..4ba9cab8 100644
--- a/docs/gsg/CXX/ReplacingEntryWCursor.html
+++ b/docs/gsg/CXX/ReplacingEntryWCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/accessmethods.html b/docs/gsg/CXX/accessmethods.html
index b25e48f3..74ad12b6 100644
--- a/docs/gsg/CXX/accessmethods.html
+++ b/docs/gsg/CXX/accessmethods.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/btree.html b/docs/gsg/CXX/btree.html
index df45215d..a87c9610 100644
--- a/docs/gsg/CXX/btree.html
+++ b/docs/gsg/CXX/btree.html
@@ -13,7 +13,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -416,7 +416,7 @@ try {
do not sort well when viewed as byte strings. There are
several solutions to this problem, one being to provide a
custom comparison function. See
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/am_misc_faq.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/am_misc_faq.html</a>
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/am_misc_faq.html" target="_top">http://docs.oracle.com/cd/E17076_02/html/programmer_reference/am_misc_faq.html</a>
for more information.
</p>
</li>
@@ -473,10 +473,13 @@ try {
occur.
</p>
<p>
- The value that you provide to the <code class="methodname">set_bt_compare()</code> method
- is a pointer to a function that has the following signature:
- </p>
- <pre class="programlisting">int (*function)(Db *db, const Dbt *key1, const Dbt *key2)</pre>
+ The value that you provide to the
+ <code class="methodname">set_bt_compare()</code> method
+ is a pointer to a function that has the following signature:
+ </p>
+ <pre class="programlisting">
+int (*function)(Db *db, const Dbt *key1, const Dbt *key2, size_t *locp)
+ </pre>
<p>
This function must return an integer value less than, equal to,
or greater than 0. If key1 is considered to be greater than
@@ -499,10 +502,11 @@ try {
</p>
<a id="cxx_btree1"></a>
<pre class="programlisting">int
-compare_int(Db *dbp, const Dbt *a, const Dbt *b)
+compare_int(Db *dbp, const Dbt *a, const Dbt *b, size_t *locp)
{
int ai, bi;
+ locp = NULL;
// Returns:
// &lt; 0 if a &lt; b
// = 0 if a = b
diff --git a/docs/gsg/CXX/cachesize.html b/docs/gsg/CXX/cachesize.html
index e60da97f..0c8c68cb 100644
--- a/docs/gsg/CXX/cachesize.html
+++ b/docs/gsg/CXX/cachesize.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/concepts.html b/docs/gsg/CXX/concepts.html
index 2bc25b47..31329b9a 100644
--- a/docs/gsg/CXX/concepts.html
+++ b/docs/gsg/CXX/concepts.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/coreExceptions.html b/docs/gsg/CXX/coreExceptions.html
index fa809b42..882bb14f 100644
--- a/docs/gsg/CXX/coreExceptions.html
+++ b/docs/gsg/CXX/coreExceptions.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/coredbclose.html b/docs/gsg/CXX/coredbclose.html
index c8c6bad7..5b4edd2d 100644
--- a/docs/gsg/CXX/coredbclose.html
+++ b/docs/gsg/CXX/coredbclose.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/coreindexusage.html b/docs/gsg/CXX/coreindexusage.html
index fcfd0cbc..25f6d381 100644
--- a/docs/gsg/CXX/coreindexusage.html
+++ b/docs/gsg/CXX/coreindexusage.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -122,7 +122,7 @@
Remember that you can find the complete implementation of these functions
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -172,7 +172,7 @@ get_item_name(Db *dbp, const Dbt *pkey, const Dbt *pdata, Dbt *skey)
// Now set the secondary key's data to be the item name
skey-&gt;set_data(itemname);
- skey-&gt;set_size(strlen(itemname) + 1);
+ skey-&gt;set_size((u_int32_t)strlen(itemname) + 1);
return (0);
}; </pre>
@@ -314,11 +314,12 @@ main(int argc, char *argv[])
get_item_name,
0);</code></strong>
+ // Load the inventory database
+ loadInventoryDB(inventoryDB, inventoryFile);
+
// Load the vendor database
loadVendorDB(vendorDB, vendorFile);
- // Load the inventory database
- loadInventoryDB(inventoryDB, inventoryFile);
} catch(DbException &amp;e) {
std::cerr &lt;&lt; "Error loading databases. " &lt;&lt; std::endl;
std::cerr &lt;&lt; e.what() &lt;&lt; std::endl;
@@ -381,7 +382,7 @@ main(int argc, char *argv[])
and update our usage function slightly:
</p>
<a id="cxx_index14"></a>
- <pre class="programlisting">// File: example_database_read.cpp
+ <pre class="programlisting">// File: excxx_example_database_read.cpp
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;cstdlib&gt;
@@ -470,7 +471,7 @@ main (int argc, char *argv[])
application
in:
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the location where you
placed your DB distribution.
@@ -492,7 +493,8 @@ show_item(MyDb &amp;itemnameSDB, MyDb &amp;vendorDB, std::string &amp;itemName)
// Get the search key. This is the name on the inventory
// record that we want to examine.
std::cout &lt;&lt; "Looking for " &lt;&lt; itemName &lt;&lt; std::endl;
- Dbt key((void *)itemName.c_str(), itemName.length() + 1);
+ Dbt key((void *)itemName.c_str(),
+ (u_int32_t)itemName.length() + 1);
Dbt data;
// Position the cursor to the first record in the secondary
diff --git a/docs/gsg/CXX/databaseLimits.html b/docs/gsg/CXX/databaseLimits.html
index f244f51c..380157eb 100644
--- a/docs/gsg/CXX/databaseLimits.html
+++ b/docs/gsg/CXX/databaseLimits.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -39,9 +39,12 @@
<p>
Berkeley DB provides support for managing everything from very small
databases that fit entirely in memory, to extremely large databases
- holding millions of records and terabytes of data. DB databases can
- store up to 256 terabytes of data. Individual record keys or record
- data can store up to 4 gigabytes of data.
+ holding millions of records and terabytes of data. An individual
+ DB database can store up to 256 terabytes of data. By using
+ multiple databases, it is possible to use DB to store and
+ manage petabytes of information. Within a single database,
+ individual record keys or record data can be used to store up to 4
+ gigabytes of data.
</p>
<p>
DB's databases store data in a binary format that is portable across
diff --git a/docs/gsg/CXX/databases.html b/docs/gsg/CXX/databases.html
index 2af54584..b31d25d9 100644
--- a/docs/gsg/CXX/databases.html
+++ b/docs/gsg/CXX/databases.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/dbErrorReporting.html b/docs/gsg/CXX/dbErrorReporting.html
index 963ad079..ab6f775d 100644
--- a/docs/gsg/CXX/dbErrorReporting.html
+++ b/docs/gsg/CXX/dbErrorReporting.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/dbconfig.html b/docs/gsg/CXX/dbconfig.html
index 98cbe10d..acb4a826 100644
--- a/docs/gsg/CXX/dbconfig.html
+++ b/docs/gsg/CXX/dbconfig.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -362,7 +362,7 @@
filesystem's block size causes DB to write pages in block
size increments. As a result, it is possible for a partial page
to be written as the result of a transactional commit. For more
- information, see <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_reclimit.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_reclimit.html</a>.
+ information, see <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/transapp_reclimit.html" target="_top">http://docs.oracle.com/cd/E17076_02/html/programmer_reference/transapp_reclimit.html</a>.
</p>
</div>
</div>
diff --git a/docs/gsg/CXX/environments.html b/docs/gsg/CXX/environments.html
index baca25c4..53fc278e 100644
--- a/docs/gsg/CXX/environments.html
+++ b/docs/gsg/CXX/environments.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/gettingit.html b/docs/gsg/CXX/gettingit.html
index b07eef30..91ee29c8 100644
--- a/docs/gsg/CXX/gettingit.html
+++ b/docs/gsg/CXX/gettingit.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -38,7 +38,7 @@
</div>
<p>
You can obtain DB by visiting the Berkeley DB download page:
- <a class="ulink" href="http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html</a>.
+ <a class="ulink" href="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html</a>.
</p>
<p>
To install DB, untar or unzip the distribution to the directory of
diff --git a/docs/gsg/CXX/index.html b/docs/gsg/CXX/index.html
index 1b600363..a870cf0c 100644
--- a/docs/gsg/CXX/index.html
+++ b/docs/gsg/CXX/index.html
@@ -12,7 +12,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -30,11 +30,11 @@
<div class="titlepage">
<div>
<div>
- <h1 class="title"><a id="idp11264"></a>Getting Started with Berkeley DB</h1>
+ <h1 class="title"><a id="idp11232"></a>Getting Started with Berkeley DB</h1>
</div>
<div>
<div class="legalnotice">
- <a id="idp50445216"></a>
+ <a id="idp666704"></a>
<p class="legalnotice-title">
<b>Legal Notice</b>
</p>
@@ -64,7 +64,7 @@
<p>
To obtain a copy of this document's original source code, please
submit a request to the Oracle Technology Network forum at:
- <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=271</a>
+ <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=271</a>
</p>
@@ -72,7 +72,7 @@
</div>
</div>
<div>
- <p class="pubdate">5/11/2012</p>
+ <p class="pubdate">2/17/2015</p>
</div>
</div>
<hr />
diff --git a/docs/gsg/CXX/indexes.html b/docs/gsg/CXX/indexes.html
index 2906e851..d485b2fb 100644
--- a/docs/gsg/CXX/indexes.html
+++ b/docs/gsg/CXX/indexes.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/introduction.html b/docs/gsg/CXX/introduction.html
index f250b88c..46779ee5 100644
--- a/docs/gsg/CXX/introduction.html
+++ b/docs/gsg/CXX/introduction.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -209,7 +209,7 @@
In addition to being presented in this book, these final programs are also
available in the DB software distribution. You can find them in
</p>
- <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples_cxx/getting_started</pre>
+ <pre class="programlisting"><span class="emphasis"><em>DB_INSTALL</em></span>/examples/cxx/getting_started</pre>
<p>
where <code class="literal"><span class="emphasis"><em>DB_INSTALL</em></span></code> is the
location where you placed your DB distribution.
diff --git a/docs/gsg/CXX/joins.html b/docs/gsg/CXX/joins.html
index 275edbc8..ea1778b4 100644
--- a/docs/gsg/CXX/joins.html
+++ b/docs/gsg/CXX/joins.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/keyCreator.html b/docs/gsg/CXX/keyCreator.html
index 9b77f9e5..52484813 100644
--- a/docs/gsg/CXX/keyCreator.html
+++ b/docs/gsg/CXX/keyCreator.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/moreinfo.html b/docs/gsg/CXX/moreinfo.html
index c49706be..a428e3b6 100644
--- a/docs/gsg/CXX/moreinfo.html
+++ b/docs/gsg/CXX/moreinfo.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -56,7 +56,7 @@
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/gsg_txn/CXX/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/gsg_txn/CXX/index.html" target="_top">
Getting Started with Transaction Processing for C++
</a>
@@ -67,7 +67,7 @@
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/gsg_db_rep/CXX/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/gsg_db_rep/CXX/index.html" target="_top">
Berkeley DB Getting Started with Replicated Applications for C++
</a>
@@ -75,21 +75,21 @@
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/programmer_reference/index.html" target="_top">
Berkeley DB Programmer's Reference Guide
</a>
</p>
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/installation/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/installation/index.html" target="_top">
Berkeley DB Installation and Build Guide
</a>
</p>
</li>
<li>
<p>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/bdb-sql/index.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/bdb-sql/index.html" target="_top">
Berkeley DB Getting Started with the SQL APIs
</a>
</p>
@@ -98,7 +98,7 @@
<p>
<span>
- <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/api_reference/CXX/frame_main.html" target="_top">
+ <a class="ulink" href="http://docs.oracle.com/cd/E17076_02/html/api_reference/CXX/frame_main.html" target="_top">
Berkeley DB C++ API Reference Guide
</a>
</span>
@@ -128,7 +128,7 @@
downloads, visit
- <a class="ulink" href="http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html</a>.
+ <a class="ulink" href="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html" target="_top">http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html</a>.
</p>
</span>
<div class="sect2" lang="en" xml:lang="en">
@@ -143,8 +143,8 @@
You can post your comments and questions at the Oracle
Technology (OTN) forum for
<span>
- Oracle Berkeley DB at: <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=271</a>,
- or for Oracle Berkeley DB High Availability at: <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=272" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=272</a>.
+ Oracle Berkeley DB at: <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=271</a>,
+ or for Oracle Berkeley DB High Availability at: <a class="ulink" href="https://forums.oracle.com/forums/forum.jspa?forumID=272" target="_top">https://forums.oracle.com/forums/forum.jspa?forumID=272</a>.
</span>
diff --git a/docs/gsg/CXX/preface.html b/docs/gsg/CXX/preface.html
index 023c785d..36ecef3e 100644
--- a/docs/gsg/CXX/preface.html
+++ b/docs/gsg/CXX/preface.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -67,7 +67,7 @@
<span>
- This document introduces Berkeley DB 11<span class="emphasis"><em>g</em></span> Release 2, which provides DB library version 11.2.5.3.
+ This document introduces Berkeley DB 12<span class="emphasis"><em>c</em></span> Release 1, which provides DB library version 12.1.6.1.
</span>
</p>
<p>
diff --git a/docs/gsg/CXX/readSecondary.html b/docs/gsg/CXX/readSecondary.html
index 7c2b4c7a..defcb8d1 100644
--- a/docs/gsg/CXX/readSecondary.html
+++ b/docs/gsg/CXX/readSecondary.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/returns.html b/docs/gsg/CXX/returns.html
index 4306f558..bf53647a 100644
--- a/docs/gsg/CXX/returns.html
+++ b/docs/gsg/CXX/returns.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/secondaryCursor.html b/docs/gsg/CXX/secondaryCursor.html
index 8c6f390d..1db486f0 100644
--- a/docs/gsg/CXX/secondaryCursor.html
+++ b/docs/gsg/CXX/secondaryCursor.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
diff --git a/docs/gsg/CXX/secondaryDelete.html b/docs/gsg/CXX/secondaryDelete.html
index ab958de2..9cd727e5 100644
--- a/docs/gsg/CXX/secondaryDelete.html
+++ b/docs/gsg/CXX/secondaryDelete.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -59,16 +59,11 @@
<code class="methodname">Db::del()</code>
- method to delete a secondary database record.
-
-
-
- <span>Note that if your
+ method to delete a secondary database record. Note that if your
<span>secondary database</span>
contains duplicate records, then deleting a record from the set of
duplicates causes all of the duplicates to be deleted as well.
- </span>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
diff --git a/docs/gsg/CXX/usingDbt.html b/docs/gsg/CXX/usingDbt.html
index 1fb17ed6..325e3549 100644
--- a/docs/gsg/CXX/usingDbt.html
+++ b/docs/gsg/CXX/usingDbt.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>