Commit Graph

1012 Commits

Author SHA1 Message Date
ac430bd7cf build/CI/packaging: use python2, if python is not available.
This is required to fix cram tests on RHEL 8.
2019-10-20 22:33:46 +03:00
92c8660873 build/CI/packaging: add Ubuntu Eoan. 2019-10-20 20:39:55 +03:00
8b028faf32 build/CI/packaging: remove Ubuntu Cosmic (EOL). 2019-10-20 20:37:44 +03:00
9874603637 build/CI/packaging: add CentOS 8 x86_64. 2019-10-20 20:32:53 +03:00
9ffd5873cf build/CI/packaging: Support MIPS64 builds.
This adds support for building for mips64* architectures by using the
--use-cc-builtins configure option for ConcurrencyKit. Which is a
temporary workaround until proper MIPS supported is implemented in CK
upstream.

Closes GH-318.
2019-09-13 14:49:12 +03:00
e6150104e5 build/CI/packaging: add Ubuntu Disco. 2019-07-14 16:52:18 +03:00
ee8fbef1b2 build/CI/packaging: remove Ubuntu Trusty (EOL). 2019-07-14 16:49:34 +03:00
bbf5e9ca22 build/CI/packaging: remove Fedora 28 (EOL). 2019-07-14 16:47:14 +03:00
66be0fbeb6 build/CI/packaging: add Fedora 30. 2019-07-14 16:45:07 +03:00
a65bc9afe1 Cherry-pick fix for LuaJIT/LuaJIT#484 to fix builds on MacOS Mojave.
Bump minimum MACOSX_DEPLOYMENT_TARGET to 10.6

The macOS SDK for 10.4 has been deprecated as of 10.14, bump to 10.6 so that LuaJIT continues to build out of the box.

Fixes LuaJIT#484.
2019-07-14 13:02:30 +03:00
39ebaba0f7 build/CI/packaging: add Debian Buster. 2019-03-25 22:11:29 +03:00
d634bced3c Release 1.0.17. 2019-03-15 15:16:36 +03:00
bb69c4b4b6 Updated build dependencies for RHEL8-Beta 2019-03-15 15:08:18 +03:00
731237acf3 Merge pull request #288 from akopytov/gh-287
Fix #287: Issue of MYSQL_OPT_SSL_MODE
2019-01-16 18:43:57 +03:00
f30a30c875 Fix #287: Issue of MYSQL_OPT_SSL_MODE
In drv_mysql.c do not assume MYSQL_OPT_SSL_MODE to be a preprocessor
define. It is an mysql_option enum value with all MySQL
versions. Instead, do a configure-time check if that value is defined in
mysql.h.
2019-01-16 14:57:37 +03:00
54da9152c8 --rate mode: remove the now unnecessary queue_is_full global variable. 2018-12-24 08:40:23 +03:00
a4b8aeb31a regression tests: remove unnecessary error leading to opt_rate.t instability. 2018-12-23 11:12:00 +03:00
8744b88cad Return a non-zero exit code on event queue overflow in the --rate mode. 2018-12-22 20:11:34 +03:00
3b7aacb567 --rate mode: fix a bogus error about eventgen thread termination
When the --rate option was used together with the --time option, a bogus
"Terminating the event generator thread failed" error was thrown at the
end of the test.
2018-12-17 21:59:09 +03:00
0fa06015bf Release 1.0.16. 2018-12-16 19:42:10 +03:00
87cc5380a8 build/CI/packaging: add Ubuntu Cosmic. 2018-12-16 18:56:44 +03:00
019edadfc7 build/CI/packaging: add Fedora 29. 2018-12-16 18:54:34 +03:00
5803f73e45 build/CI/packaging: remove Fedora 27 (EOL). 2018-12-16 18:52:57 +03:00
b017a998ef Fix GH-282: Mysql's fetch_row() is broken
Fix both MySQL and PostgreSQL drivers to return an error when
fetch_row() is called after retrieving all rows in the result set.
2018-12-16 17:21:39 +03:00
bb8c3b04c5 --rate mode: fix latency stats skew on low rates
Worker threads used sleep() in the bounded rate mode to avoid CPU
hogging when polling on the event queue. The problem was that sleep()
calls increased time spent by events in the queue, which is counted
towards event latency to avoid the coordinated omission problem. The
lower the rate, the bigger impact on latency was observed.

The fix is replacing sleep()s with a condition variable which is now
used to put worker into an idle wait when the queue is empty. The event
generation thread now uses pthread_cond_signal() after each generated
event to wake up an idle worker thread. Which somewhat increases
sysbench CPU consumption, especially for high rates.
2018-12-10 21:05:38 +03:00
49f17576f2 Add /usr/share/lua/5.1 to LUA_PATH and /usr/lib/lua/5.1 to LUA_CPATH.
Those are the paths used by Luarocks on CentOS by default.
2018-10-23 14:56:40 +03:00
62693649e9 Add -Wvla to default compiler flags. 2018-08-30 06:25:31 +03:00
27dcd0e133 build/CI/packaging: remove Ubuntu Artful (EOL). 2018-08-02 22:21:08 +02:00
82cdae5b0b Fix debian/changelog again. 2018-07-09 09:57:03 +03:00
1772da9fb6 Fix a comment typo in buildpack.sh. 2018-07-09 09:44:41 +03:00
89eb487bd5 Fix debian/changelog entry. 2018-07-09 09:24:48 +03:00
f68ac89885 Fix buildpack.sh to not push multiple file types to packagecloud.
Latest package_cloud versions disallow pushing multiple file types with
a single command. So just push all packages one by one.
2018-07-09 09:19:23 +03:00
69d269a737 packaging: add libaio-dev to Debian/Ubuntu build dependencies. 2018-07-09 09:04:56 +03:00
ec27fc0f4e Release 1.0.15. 2018-07-03 22:49:50 +03:00
225edae5db Add OpenSSL development libs to instructions on building from source. 2018-07-03 22:37:53 +03:00
d811d200d9 Add Fedora 28 to CI/build/packaging matrices. 2018-06-26 20:49:41 +03:00
cb0d002750 Remove Fedora 26 from CI/build/packaging matrices (EOL). 2018-06-26 20:18:37 +03:00
352e0138eb Remove Debian Wheezy From CI/build/packaging matrices (EOL). 2018-06-26 20:15:30 +03:00
aa52c53001 Update copyright year in sysbench.cmdline.lua. 2018-05-11 22:24:41 +03:00
d805300846 Fix GH-223: test failure on ppc64
Make sysbench.cmdline.print_test_options() output deterministic by
sorting option names when parsing.
2018-05-11 22:22:33 +03:00
2368f4d653 Add Ubuntu Bionic to CI/build/packaging matrices. 2018-05-03 20:25:09 +03:00
e633f9c744 Fix GH-229: "--file-fsync-freq=0" seems to prevent fsync() at end of test
Ensure fsync() is called at the end of a fileio benchmark regardless of
--events, --time and --file-fsync-freq values.
2018-05-03 18:41:24 +03:00
061ba339fc Update copyright year in sb_options.c. 2018-04-16 13:22:46 +03:00
d232e6f228 Add section about semantic versioning to README.md. 2018-04-15 20:24:46 +03:00
af11fa7bd4 Improve parsing of boolean command line options.
Accept true/1 as synonyms for 'on', and 'false'/0 as synonyms for
'off'. Also reject other values instead of silently converting them to
'off'.
2018-04-12 22:11:16 +03:00
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