Skip to content

Commit 8f087ff

Browse files
committed
CDRIVER-2663 add location comments
1 parent 3e7ceb3 commit 8f087ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libmongoc/tests/test-mongoc-sample-commands.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3229,6 +3229,7 @@ typedef bool (*txn_func_t) (mongoc_client_session_t *,
32293229
bson_error_t *);
32303230

32313231

3232+
/* runs transactions with retry logic */
32323233
bool
32333234
run_transaction_with_retry (txn_func_t txn_func,
32343235
mongoc_client_session_t *cs,
@@ -3262,6 +3263,7 @@ run_transaction_with_retry (txn_func_t txn_func,
32623263
}
32633264

32643265

3266+
/* commit transactions with retry logic */
32653267
bool
32663268
commit_with_retry (mongoc_client_session_t *cs, bson_error_t *error)
32673269
{

0 commit comments

Comments
 (0)