OLTP scripts: add --reconnect option.
oltp_*.lua scripts now support the --reconnect=N option. When specified, sysbench will reconnect after every N events. Fixes GH-90.
This commit is contained in:
@ -74,4 +74,6 @@ function event()
|
||||
end
|
||||
|
||||
stmt:execute()
|
||||
|
||||
check_reconnect()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user