Skip to content

Commit

Permalink
Removed error counter in case of error in trx call because sysbench c…
Browse files Browse the repository at this point in the history
…ount it internally
  • Loading branch information
alexey2k committed Mar 2, 2018
1 parent 74ca198 commit dbd50dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tpcc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ function event()

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

Expand Down

0 comments on commit dbd50dd

Please sign in to comment.