Commit Graph

967 Commits

Author SHA1 Message Date
0d0d214266 Fix GH-220: Testsuite api_sql_mysql.t failed ...
api_sql_mysql.t failed if SBTEST_MYSQL_ARGS included an explicit
specification of '--mysql-socket', in which case ignores --mysql-host
and asssumes 'localhost'.
2018-04-03 13:46:19 +03:00
c54aaef212 Capitalize section headings in README.md. 2018-04-02 13:17:27 +03:00
86235957bb Fix opt_help.t to pass when the binary is not configured with MySQL support. 2018-04-02 11:42:08 +03:00
92b1426276 Use --db-driver=mysql by default, if the MySQL driver is available.
If the MySQL driver is available and --db-driver option was explicitly
specified, assume MySQL and don't compain about multiple DB drivers
being available.

That was a popular request and is likely what most sysbench users want.
2018-04-02 11:20:55 +03:00
b31eb23f83 Release 1.0.14. 2018-04-01 14:51:12 +03:00
56b473faf6 Fix GH-195: Fix JSON reporter to produce valid JSON
sysbench.report_json() now generates well-formed JSON without comma
after the last array element and with proper opening/closing brackets.
2018-04-01 13:59:00 +03:00
b3169380ad Fix Lua state usage after closing it in sb_lua_close_state(). 2018-04-01 08:29:11 +03:00
a4cb8a6c6d Fix a help message typo. 2018-03-28 13:09:24 +03:00
7b451463c1 Fix a comment typo. 2018-03-28 13:03:07 +03:00
7b383cc537 Don't fail when query_row() is called with an empty SELECT. 2018-03-23 19:13:52 +03:00
ce5a14b50a Fix PostgreSQL-specific regression tests to work with 10.3.1.
PostgreSQL 10.3.1 changed the dump format of schema objects. We now
remove the schema name to make results compatible across all PostgreSQL
versions.
2018-03-22 10:23:11 +03:00
89e37ba6f7 Don't crash when SQL bulk insert API calls are used out of order. 2018-03-21 22:43:08 +03:00
4166834248 tests: improve test_fileio.t stability. 2018-02-17 20:37:24 +03:00
7263769245 tests: add --validate test to test_fileio.t 2018-02-17 19:42:22 +03:00
0787743754 Release 1.0.13. 2018-02-17 18:33:06 +03:00
976208719b OLTP tests: re-prepare statements after reconnects (fixes #213).
Fix oltp_common.lua to re-prepare prepared statements after
reconnecting, i.e. if a connection to the server has been lost and one
of the following MySQL errors is in the --mysql-ignore-errors list:

- 2013 (CR_SERVER_LOST)
- 2055 (CR_SERVER_LOST_EXTENDED)
- 2006 (CR_SERVER_GONE_ERROR)
- 2011 (CR_TCP_CONNECTION)
2018-02-17 17:55:43 +03:00
4ed79a7465 Update copyright dates. 2018-02-17 15:49:30 +03:00
d000761b9c --file-extra-flags now accepts a list of flags rather than a single value 2018-02-03 19:19:12 +03:00
ddaa13c45b Improve report formatting for long latency values. 2018-01-20 23:55:37 +03:00
f7fe954eb3 configure.ac: more cleanups 2018-01-18 10:00:09 +03:00
142f5da08b Remove Ubuntu Zesty from CI/build/packaging matrices (EOL). 2018-01-17 20:38:06 +03:00
d1ddc523a8 configure:ac: cleanup obsolete/unnecessary options and compiler flags. 2018-01-17 19:17:05 +03:00
1dd6066f1d Merge pull request #205 from hydrapolic/origin/1.0
Drop htmldir as it defaults to docdir if unset.
2018-01-17 15:39:07 +03:00
c4ddab7660 Drop htmldir as it defaults to docdir if unset. 2018-01-17 13:30:44 +01:00
07e02e988b Release 1.0.12. 2018-01-17 13:23:59 +03:00
a60b0ea2a7 Minor code cleanups around timer and usleep() calls. 2018-01-17 00:07:36 +03:00
4bdb68a15a Improve --rate mode precision for high argument values. 2018-01-16 21:31:07 +03:00
18d1818bda .travis.yml: fix typo 2018-01-14 23:15:26 +03:00
217832a232 .travis.yml: Remove a workaround for a Homebrew bug. 2018-01-14 21:50:33 +03:00
b0beea01e8 Backport a compiler warning fix from LuaJIT HEAD. 2018-01-14 18:42:53 +03:00
dae005971a Exclude Fedora Rawhide and Debian Sid from default build/packaging matrices.
Because of missing support in packagecloud repos.
2018-01-14 18:33:16 +03:00
c1b2759b0f Don't push packages to packagecloud for Fedora Rawhide and Debian Sid.
Because of missing support in packagecloud repos.
2018-01-14 18:31:14 +03:00
9f88c1ce66 Add Fedora Rawhide and Debian Sid to CI/build/packaging matrices. 2018-01-14 18:01:25 +03:00
1927dd319e Define compatibility m4 macros early to fix CentOS 6 builds. 2018-01-14 14:46:45 +03:00
28bec1f201 Remove Autoconf 2.64 requirement mistakenly re-introduced by commit 4a8973e. 2018-01-14 14:01:13 +03:00
4a8973e703 Merge autoconf-archive macros from upstream. 2018-01-14 13:48:37 +03:00
aefee11a50 api_basic.t: fix help() test 2018-01-07 11:32:56 +03:00
b7ab36dd3d Update copyrights. 2018-01-06 12:32:12 +03:00
785b8cb722 Remove reference to txt2c.sh. 2018-01-06 11:45:07 +03:00
7ee5776eff Remove build dependency on xxd/vim-common. 2018-01-06 11:11:53 +03:00
09db2db521 Update copyright in sysbench.lua. 2018-01-02 21:48:55 +05:00
b7dd7e0781 fix the ret value by which we can stop benchmark in event 2018-01-02 20:08:36 +05:00
2cdb3adaa8 Fix sb_counters declaration. 2017-12-24 16:22:14 +03:00
6972814378 Replace custom data inspection code in regression tests with inspect.lua. 2017-12-24 11:48:29 +03:00
fd343c027e Fix test comment. 2017-12-23 15:53:09 +03:00
6e979f5aef GH-198: Tolerate misaligned test_files.
Adjust I/O request size if it crosses file size boundaries. Which may
happen if the specified file size is not a multiple of block size.
2017-12-23 14:07:29 +03:00
cc616483fc Fix a typo in README.md. 2017-12-23 13:33:12 +03:00
4d317e4797 Correct build instructions regarding macOS-specific LDFLAGS. 2017-12-23 13:31:40 +03:00
f9d79aefe5 Addendum to patch for GH-196: skip file size validation on seqwr tests. 2017-12-23 13:26:53 +03:00
b9c6b3a2df Fix GH-196: fileio: validate file sizes on startup
In the fileio test, throw a descriptive error on startup if a test file
size is lower than expected.
2017-12-17 13:07:20 +03:00