Skip to content

Commit 7bb81cf

Browse files
committed
transfers.go bugs
1 parent 3190eba commit 7bb81cf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/perf/transfers.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ func (t TransfersTS) prepare_one(connstr string, wg *sync.WaitGroup) {
3939
exec(conn, "insert into t (select generate_series(0,$1-1), $2)",
4040
cfg.AccountsNum, 0)
4141

42-
exec(conn, "commit")
4342
wg.Done()
4443
}
4544

@@ -134,9 +133,6 @@ func (t TransfersTS) reader(wg *sync.WaitGroup, cFetches chan int, inconsistency
134133
snapshot = _execQuery(conn, "select dtm_access($1)", snapshot)
135134
}
136135
}
137-
138-
exec(conn, "begin transaction isolation level " + cfg.Isolation)
139-
sum += _execQuery(conn, "select sum(v) from t")
140136
}
141137

142138
for _, conn := range conns {

0 commit comments

Comments
 (0)