summaryrefslogtreecommitdiff
path: root/docs/programmer_reference/transapp_cursor.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/programmer_reference/transapp_cursor.html')
-rw-r--r--docs/programmer_reference/transapp_cursor.html36
1 files changed, 20 insertions, 16 deletions
diff --git a/docs/programmer_reference/transapp_cursor.html b/docs/programmer_reference/transapp_cursor.html
index b202d9e0..2c36d2cf 100644
--- a/docs/programmer_reference/transapp_cursor.html
+++ b/docs/programmer_reference/transapp_cursor.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>
@@ -22,9 +22,7 @@
</tr>
<tr>
<td width="20%" align="left"><a accesskey="p" href="transapp_read.html">Prev</a> </td>
- <th width="60%" align="center">Chapter 11. 
- Berkeley DB Transactional Data Store Applications
- </th>
+ <th width="60%" align="center">Chapter 11.  Berkeley DB Transactional Data Store Applications </th>
<td width="20%" align="right"> <a accesskey="n" href="transapp_nested.html">Next</a></td>
</tr>
</table>
@@ -38,18 +36,24 @@
</div>
</div>
</div>
- <p>Berkeley DB cursors may be used inside a transaction, exactly as any other
-<a href="../api_reference/C/db.html" class="olink">DB</a> method. The enclosing transaction ID must be specified when
-the cursor is created, but it does not then need to be further specified
-on operations performed using the cursor. One important point to
-remember is that a cursor <span class="bold"><strong>must be closed</strong></span> before the enclosing
-transaction is committed or aborted.</p>
- <p>The following code fragment uses a cursor to store a new key in the cats
-database with four associated data items. The key is a name. The data
-items are a company name and a list of the breeds of cat owned. Each
-of the data entries is stored as a duplicate data item. In this
-example, transactions are necessary to ensure that either all or none
-of the data items appear in case of system or application failure.</p>
+ <p>
+ Berkeley DB cursors may be used inside a transaction,
+ exactly as any other <a href="../api_reference/C/db.html" class="olink">DB</a> method. The enclosing transaction ID
+ must be specified when the cursor is created, but it does not
+ then need to be further specified on operations performed
+ using the cursor. One important point to remember is that a
+ cursor <span class="bold"><strong>must be closed</strong></span> before
+ the enclosing transaction is committed or aborted.
+ </p>
+ <p>
+ The following code fragment uses a cursor to store a new key
+ in the cats database with four associated data items. The key
+ is a name. The data items are a company name and a list of the
+ breeds of cat owned. Each of the data entries is stored as a
+ duplicate data item. In this example, transactions are
+ necessary to ensure that either all or none of the data items
+ appear in case of system or application failure.
+ </p>
<pre class="programlisting">int
main(int argc, char *argv)
{