Skip to content

Commit 24f6950

Browse files
committed
comments
1 parent 9984e33 commit 24f6950

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/funk/fd_funk_rec.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,15 +462,15 @@ fd_funk_rec_modify_try_global( fd_funk_t * funk,
462462
}
463463
#endif
464464

465-
/* Try modifying within the current transaction first to see if the record exists */
465+
/* Try to get a modifiable handle to the record within the current transaction. */
466466
fd_funk_rec_t * rec = fd_funk_rec_modify_try( funk, txn, key, query );
467467
if( rec ) {
468468
if( txn_out ) *txn_out = txn;
469469
return rec;
470470
}
471471

472-
/* Record does not exist in the current transaction. It must belong
473-
to a parent transaction, if it exists in funk. If so, clone it down
472+
/* Record does not exist in the current transaction. If it exists at all, it must
473+
belong to a parent transaction, if it exists in funk. If so, clone it down
474474
to the child transaction. */
475475
fd_funk_rec_prepare_t prepare;
476476
rec = fd_funk_rec_clone( funk, txn, key, &prepare, txn_out, NULL );

0 commit comments

Comments
 (0)