Skip to content

Commit dbd50dd

Browse files
committed
Removed error counter in case of error in trx call because sysbench count it internally
1 parent 74ca198 commit dbd50dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tpcc.lua

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ function event()
4848

4949
-- Repeat transaction execution until success
5050
while not pcall(function () _G[trx]() end ) do
51-
ffi.C.sb_counter_inc(sysbench.tid, ffi.C.SB_CNT_ERROR)
5251
con:query("ROLLBACK")
5352
end
5453

0 commit comments

Comments
 (0)