Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 3395f6c

Browse files
committed
reorder non-default parameters in TransactionThread::ExecuteNext
1 parent b2612aa commit 3395f6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/include/concurrency/testing_transaction_util.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ class TransactionThread {
242242
if (cur_seq == 0) {
243243
if (schedule->declared_ro == true) {
244244
/** starts a read only transaction*/
245-
txn = txn_manager->BeginTransaction(0, IsolationLevelType::SNAPSHOT,
246-
true);
245+
txn = txn_manager->BeginTransaction(true, 0,
246+
IsolationLevelType::SNAPSHOT);
247247
} else {
248248
txn = txn_manager->BeginTransaction();
249249
}

0 commit comments

Comments
 (0)