    }

    /* Point to the memory malloc'd by db_create() */
    *dbpp = dbp;

    if (extra_flags != 0) {
        ret = dbp-&gt;set_flags(dbp, extra_flags);
        if (ret != 0) {
            dbp-&gt;err(dbp, ret, 
                "open_db: Attempt to set extra flags failed.");
            return (EXIT_FAILURE);
        }
    }

    /* Now open the database */
    <strong class="userinput"><code>open_flags = DB_CREATE        | /* Allow database creation */ 
                 DB_THREAD        |        
    