4eff9c4dc1
Close connections explicitly in OLTP scripts.
2017-01-30 17:29:47 +03:00
78ea2f6a5c
Close connection explicitly in bulk_insert.lua.
2017-01-30 17:16:21 +03:00
b9dab8c0f5
Also close BEGIN/COMMIT statements in oltp_common.lua.
2017-01-30 14:44:34 +03:00
61a167354b
Close prepared statements in OLTP scripts.
2017-01-30 14:24:05 +03:00
591c588fa7
Implement custom report hooks. Add CSV and JSON reporters as examples.
2017-01-29 23:46:43 +03:00
1cf5b33eda
Move counters code from db_driver.c to sb_counter.c.
2017-01-29 13:45:26 +03:00
12e56538f3
Parallel 'prepare' and 'prewarm' (MySQL-only) commands for OLTP benchmarks.
2017-01-28 17:55:29 +03:00
49aa0b4322
Fixes #78 : better error hints for missing help command
...
Now if the help command is specified for a script, sysbench first check
if the script impelements a custom help command, and calls it. If no
custom command is defined, it checks whether the script declares any
command line options, in which case it prints their description. If
neither the help() function nor an option declaration is available,
sysbench prints an error message.
2017-01-28 16:20:29 +03:00
49016568ba
Implement custom commands + parallel custom commands.
2017-01-28 15:45:16 +03:00
c9155686b7
Fix syntax error in sysbench.lua.
2017-01-27 17:59:10 +03:00
a5b7f22275
Simplify condition in sysbench.lua:thread_run().
2017-01-27 16:05:29 +03:00
8c4f6f09d5
Remove unnecessary 'local' declarations in oltp_common.lua.
2017-01-27 15:41:25 +03:00
b8745c8a22
Make bundled OLTP Lua scripts executable, add hashbangs.
2017-01-27 14:24:43 +03:00
06d4f99cb6
Rename the 'sysbench' subdirectory to 'src'.
2017-01-27 09:39:28 +03:00