Commit Graph

9 Commits

Author SHA1 Message Date
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