]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/tdb_private.h
Fix early transaction unlock when traverse done inside transaction.
[ccan] / ccan / tdb / tdb_private.h
index 0ee5eb650c6fbbaca8f2807605d861490fe8ae7e..4836472864006d3cab1f5726553399d7bf4054f3 100644 (file)
@@ -215,7 +215,7 @@ struct tdb_context {
        struct tdb_transaction *transaction;
        int page_size;
        int max_dead_records;
-       bool have_transaction_lock;
+       int have_transaction_lock;
        int tracefd;
        volatile sig_atomic_t *interrupt_sig_ptr;
 };