Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion google/cloud/spanner/transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Transaction {
* absence of conflicts between its updates and any concurrent updates
* that have occurred since that snapshot. Consequently, in contrast to
* `kSerializable` transactions, only write-write conflicts are detected in
* snapshot transactions.
* repeatable read transactions.
*/
kRepeatableRead,
};
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/spanner/transaction_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ TEST(Transaction, IsolationLevelPrecedence) {
return 0;
});

// Case 2: Fallback to client default
// Case 2: Fallback to default options
auto opts_default = Transaction::ReadWriteOptions();
Transaction txn_default = MakeReadWriteTransaction(opts_default);
spanner_internal::Visit(
Expand All @@ -202,7 +202,7 @@ TEST(Transaction, IsolationLevelPrecedence) {
}

TEST(Transaction, IsolationLevelNotSpecified) {
// Case: Isolation not specified in transaction level or client level
// Case: Isolation not specified in transaction options or default options
auto opts = Transaction::ReadWriteOptions();
Transaction txn = MakeReadWriteTransaction(opts);
spanner_internal::Visit(
Expand Down