17 Commits

Author SHA1 Message Date
aefee11a50 api_basic.t: fix help() test 2018-01-07 11:32:56 +03:00
b7dd7e0781 fix the ret value by which we can stop benchmark in event 2018-01-02 20:08:36 +05:00
e60ea86b69 Fix api_basic.t. 2017-04-02 11:29:29 +03:00
7f56e219f7 Rename --num-threads to --threads.
Accept the old name with a warning for compatibility.
2017-02-01 17:42:39 +03:00
788fcbb30b Rename --max-requests to --events, --max-time to --time.
Print warnings if old names are used, but accept them for compatibility.
2017-02-01 17:20:22 +03:00
217463c6b2 Really fix api_basic.t. 2017-01-31 14:25:52 +03:00
cb12882e54 Fix api_basic.t. 2017-01-31 13:47:46 +03:00
49016568ba Implement custom commands + parallel custom commands. 2017-01-28 15:45:16 +03:00
9d73ed0865 Allow Lua scripts to declare supported options.
Lua scripts can now declare their supported options, in which case
sysbench validates command line arguments and display usage
information.

This is a prerequisite for fixing #15 and #79.
2017-01-26 04:23:55 +03:00
45e219d038 Change the command line syntax: remove the --test option. 2017-01-25 00:02:59 +03:00
d89df214f7 Export sysbench.version and sysbench.version_string to Lua. 2017-01-23 14:11:41 +03:00
dbb7bbfcd1 Implement error propagation.
SQL query errors can now be propagated to Lua scripts. This is a
prerequisite for custom error hooks.
2017-01-20 02:43:08 +03:00
5e7d79b49f Fixes #13: Export db_fetch_row
Add support for result set retrieving for MySQL and PostgreSQL drivers
and export it to the new Lua SQL API.
2017-01-17 22:58:18 +03:00
58e4e6e65c Fix legacy API tests. 2017-01-06 15:10:29 +03:00
2a523826dc Use MySQL connection arguments in API tests. 2017-01-05 23:10:34 +03:00
5e94314e69 Specify DB driver explicitly in API tests. 2017-01-05 23:03:49 +03:00
e25e4d4864 Lua API regression tests. 2017-01-05 23:00:13 +03:00