"count_records: cursor close failed.");
        }
    }

    return (count);
}</pre>
      <p>
        Finally, we update 
            <span><code class="function">open_db()</code>.</span> 
             
        This involves
        removing <code class="literal">DB_READ_UNCOMMITTED</code> from the
        open flags. 

        <span>We are also careful to change our database open error
        message to no longer use the <code class="literal">file_name</code> 
        variable because that value will alw