Content-Length: 256449 | pFad | http://github.com/postgrespro/postgres_cluster/commit/e2954b81dc9fd7d6bdfbcd94430af264d1d07db7

0E use repeatable read isolation level · postgrespro/postgres_cluster@e2954b8 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/e2954b81dc9fd7d6bdfbcd94430af264d1d07db7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy