From b51acff4b83559ad72543d75386ce6be3f79e1ad Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Tue, 28 Feb 2023 09:33:19 -0600 Subject: [PATCH] Add note about transaction states Signed-off-by: Tristan Partin --- include/hse/hse.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/hse/hse.h b/include/hse/hse.h index 845ee285e..aa0ca7c01 100644 --- a/include/hse/hse.h +++ b/include/hse/hse.h @@ -874,6 +874,8 @@ hse_err_t hse_kvdb_txn_commit(struct hse_kvdb *kvdb, struct hse_kvdb_txn *txn); /** @brief Free a transaction object. + * + * This function can be called when the transaction is in any state. * * @warning After invoking this function, calling any other transaction * functions with this handle will result in undefined behavior.