ere is that we no longer specify <code class="literal">DB_READ_UNCOMMITTED</code> when
    we open our cursor. Note that even this minor change is not required.
    If we do not configure our database to support uncommitted reads,
    <code class="literal">DB_READ_UNCOMMITTED</code> on the cursor open will be silently
    ignored. However, we remove the flag anyway from the cursor open so as to
    avoid confusion.
</p>
      <pre class="programlisting">int
count_records(DB *dbp, DB_TXN *txn)
{
    DBT key,