]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/tdb2.h
tdb2: don't cancel transaction when tdb_transaction_prepare_commit fails
[ccan] / ccan / tdb2 / tdb2.h
index 24137b88722dc3acd30432ad6b4425030c96b1c5..d78ef974b340cece0ac3306c7052edd21928deb5 100644 (file)
@@ -288,6 +288,9 @@ enum TDB_ERROR tdb_transaction_commit(struct tdb_context *tdb);
  * tdb_transaction_commit): if this succeeds then a transaction will only
  * fail if the write() or fsync() calls fail.
  *
+ * If this fails you must still call tdb_transaction_cancel() to cancel
+ * the transaction.
+ *
  * See Also:
  *     tdb_transaction_commit()
  */