dbenv, t_ret, "DB_TXN-&gt;abort");
                exit (1);
            }
            if (fail++ == MAXIMUM_RETRY)
                return (ret);
            goto retry;
        }
    }
    va_end(ap);

    /* Success: commit the change. */
    if ((ret = dbc-&gt;close(dbc)) != 0) {
        dbenv-&gt;err(dbenv, ret, "dbc-&gt;close");
        exit (1);
    }
    if ((ret = tid-&gt;commit(tid, 0)) != 0) {
        dbenv-&gt;err(dbenv, ret, "DB_TXN-&gt;commit");
        exit (1);
    }
    return (0);
}</strong