4147513be5
Fix LuaJIT docs link in README.md to point to the -j option specifically.
2018-04-01 17:05:09 +03:00
da5d025711
Merge branch '1.0'
2018-04-01 16:23:09 +03:00
b31eb23f83
Release 1.0.14.
2018-04-01 14:51:12 +03:00
133aa442e1
Merge branch '1.0'
2018-04-01 14:39:10 +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
e5c8052027
Make --mysql-ssl behave like --ssl-mode in MySQL client utilities.
...
The problem with MySQL 5.7+ client libraries was that there was no way
to disable SSL usage from the sysbench command line, because the client
library defaults to MYSQL_OPT_SSL_MODE = SSL_MODE_REQUIRED, even if
--mysql-ssl is not used. So the only way to disable it was disabling SSL
on the server.
Now --mysql-ssl behaves like the --ssl-mode option in MySQL client
utilities. It accepts the following values (with "disabled" being the
default):
disabled, preferred, required, verify_ca, verify_identity.
When sysbench is built With pre-5.6 MySQL client libraries or MariaDB
client libraries, where support for SSL modes is not available,
--mysql-ssl behavior is not affected by this change, i.e. it remains a
boolean variable accepting the on/off values, with "off" being the
default.
2018-03-31 20:32:09 +03:00
9ebe81693f
Update copyright year in drv_mysql.c
2018-03-31 16:03:25 +03:00
b1a0694cc0
Added --mysql-ssl-key, --mysql-ca and --mysql-ssl-cert.
...
Replace hard-coded values for client SSL path names with driver options,
at the same time making it possible to skip those options even when
--mysql-ssl is used.
2018-03-31 15:28:29 +03:00
81ae246691
Do not error if SSL files are missing
2018-03-29 12:52:08 +02:00
2e05f16bf1
Merge branch '1.0'
2018-03-28 13:09:41 +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
97f1c8cfbf
Merge branch '1.0'
2018-03-23 19:14:54 +03:00
7b383cc537
Don't fail when query_row() is called with an empty SELECT.
2018-03-23 19:13:52 +03:00
0eaa7e4697
Merge branch '1.0'
2018-03-22 10:25:14 +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
1036b64d32
Merge branch '1.0'
2018-03-21 22:43:44 +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
651e7fd014
Merge branch '1.0'
2018-02-17 20:38:39 +03:00
4166834248
tests: improve test_fileio.t stability.
2018-02-17 20:37:24 +03:00
831e20a036
Merge branch '1.0'
2018-02-17 19:52:36 +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
9f40c0006b
Merge branch '1.0'
2018-02-17 18:26: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
a0a26947d6
Merge branch '1.0'
2018-02-04 00:07: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
44eef8e12c
Improve report formatting for long latency values.
2018-01-22 17:15:00 +03:00
fa671b57ca
Merge pull request #206 from andrey-malets/avoid-pthread-cancel
...
Avoid pthread_cancel as it may not be defined.
2018-01-22 17:13:09 +03:00
4a122b57a0
Add and use a define to check if pthread_cancel is available.
2018-01-22 18:38:52 +05:00
c4407dda5f
Avoid pthread_cancel as it may not be defined.
...
Some target platforms, notably Android NDK, do not have pthread_cancel
function available, a simple solution using thread signals may be used
instead.
2018-01-22 18:11:15 +05:00
ddaa13c45b
Improve report formatting for long latency values.
2018-01-20 23:55:37 +03:00
26708a6a2c
Merge branch '1.0'
2018-01-18 10:30:56 +03:00
f7fe954eb3
configure.ac: more cleanups
2018-01-18 10:00:09 +03:00
b8dd0165b0
Merge branch '1.0'
2018-01-17 20:38:53 +03:00
142f5da08b
Remove Ubuntu Zesty from CI/build/packaging matrices (EOL).
2018-01-17 20:38:06 +03:00
2e2105a041
Merge branch '1.0'
2018-01-17 19:18:42 +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
99371a17b3
Merge branch '1.0'
2018-01-17 15:16:43 +03:00
07e02e988b
Release 1.0.12.
2018-01-17 13:23:59 +03:00
f131a2f5cf
Merge branch '1.0'
2018-01-17 00:08:22 +03:00
a60b0ea2a7
Minor code cleanups around timer and usleep() calls.
2018-01-17 00:07:36 +03:00
7245f0cda0
Merge branch '1.0'
2018-01-16 22:07:06 +03:00
4bdb68a15a
Improve --rate mode precision for high argument values.
2018-01-16 21:31:07 +03:00
b6d06ea5f6
Merge branch '1.0'
2018-01-14 23:17:10 +03:00
18d1818bda
.travis.yml: fix typo
2018-01-14 23:15:26 +03:00