Skip to content

Commit e2954b8

Browse files
committed
use repeatable read isolation level
1 parent fce52d2 commit e2954b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/multimaster/tests/dtmbench.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ void* writer(void* arg)
146146
}
147147
for (int i = 0; i < cfg.nIterations; i++)
148148
{
149-
work txn(*conns[random() % conns.size()]);
149+
//work
150+
transaction<repeatable_read> txn(*conns[random() % conns.size()]);
150151
int srcAcc = random() % cfg.nAccounts;
151152
int dstAcc = random() % cfg.nAccounts;
152153
try {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy