• Rusty Russell's avatar
    tdb2: unify tdb1_open into tdb_open · c8c3b356
    Rusty Russell authored
    Finally, we gut tdb1_open() to the tdb1-specific parts, and call it
    from tdb_open if they specify the TDB_VERSION1 flag or the version is
    a TDB1.
    
    We also unify tdb_close(), based on the TDB_VERSION1 flag.
    
    Note that tdb_open(TDB_VERSION1) will fail on an existing tdb if it's
    a TDB2.
    c8c3b356
run-tdb1-traverse-in-transaction.c 2.09 KB