41de580cf9
Fix an incorrect flag check.
2017-11-09 10:16:30 +03:00
a9f37bd42d
Update comments in buildpack.sh.
2017-10-31 10:02:06 +03:00
035457a0dc
GH-174: (Undefined symbol "db_destroy" on FreeBSD)
...
Add -rdynamic to default linker flags on FreeBSD.
2017-10-29 08:06:10 +03:00
c1c0df8d63
Release 1.0.10.
2017-10-26 16:34:28 +03:00
e3ef9b642c
Add -q (quiet) flag to psql in pgsql_common.sh.
2017-10-26 15:07:53 +03:00
0bd06b9a47
Fix Postgres-specific regression tests to work with PostgreSQL 10.
2017-10-26 14:59:25 +03:00
2492d8d675
Remove Fedora 24 from default build matrices.
2017-10-25 17:27:28 +03:00
8924043d93
Remove Ubuntu Yakkety from default build matrices.
2017-10-25 17:23:34 +03:00
055bb82bdf
Remove Ubuntu Precise from default build matrices.
2017-10-25 17:21:47 +03:00
d998b2d99e
Add Ubuntu Artful to Travis CI build matrix.
2017-10-25 17:20:03 +03:00
774759b570
Add Ubuntu Artful x86_64/i386 support to buildpack.sh matrix.
2017-10-25 17:17:01 +03:00
26e1c241ff
Fix macOS builds in Travis.
2017-10-25 17:03:16 +03:00
4bbccaac3c
Add /usr/local/lib/lua/5.1 to default LUA_CPATH.
...
It is the default cpath used by LuaRocks.
2017-10-25 14:51:59 +03:00
1d37b3a8b3
Add /usr/local/share/lua/5.1 to default LUA_PATH.
...
The path is the default LuaRocks global install root, so it is a
frequent request to have it in the default LUA_PATH in sysbench.
2017-10-25 14:35:53 +03:00
f5fa7800cb
A better version of the fix for #172 .
2017-09-17 23:32:38 +03:00
cd13882cb6
Fix #172 : sysbench 1.0.9 doesn't build with mariadb 10.2.8
...
Add a configure check for <server/mysql_version.h> which appears to be
the most portable way to fix MariaDB builds (see MDEV-13773).
2017-09-17 22:23:30 +03:00
d2a4e2f8e9
Add Fedora 26 AArch64 to buildpack.sh platform matrix.
2017-09-17 20:17:39 +03:00
85320c71d9
Add Fedora 26 x86_64 to Travis CI build matrix.
2017-09-16 11:33:47 +03:00
416a62b2db
Add Fedora 26 x86_64 to buildpack.sh distro matrix.
2017-09-16 10:39:54 +03:00
77c7a9bf5c
Switch to akopytov/packpack as the default Docker repo to fix Fedora 25 builds.
2017-09-16 10:19:33 +03:00
a880fc4bcc
Make sysbench.opt available to init()/done() by exporting it to global Lua state.
2017-09-15 20:43:28 +03:00
cd2b738022
Avoid PK conflicts in oltp_insert.lua by creating empty tables on 'prepare'.
2017-09-12 10:08:59 +03:00
78192201c9
Release 1.0.9.
2017-09-05 20:26:28 +03:00
305be15ebc
Fix #168 : oltp_delete.lua uses DELETE + INSERT statements
...
Remove INSERT statements from oltp_delete.lua.
2017-08-23 16:14:14 +03:00
9ca119c9c7
Add workaround for MySQL #87337 to build against 8.0.2.
2017-08-21 19:24:13 +03:00
21c747a6e4
Fix #161 : build failure on debian kfreebsd-i386: "cannot detect the
...
dynamic library suffix"
Do not be too strict about platforms when choosing the shared library
suffix. Assume ."dylib" for MacOS and ".so" for everything else, since
we there is no Windows support at the moment.
2017-07-19 09:53:44 +02:00
0c12758222
Fix building against MariaDB 10.2 (thanks to Xavier Bachelot).
2017-07-13 15:29:02 +03:00
69214e2d4b
Release 1.0.8.
2017-07-04 21:55:46 +03:00
8e5ad1e380
Temporary revert Debian Stretch builfd support, as they fail in Travis.
2017-07-04 21:42:57 +03:00
c9ac5a7ace
Add i386 Debian Stretch builds to Travis CI matrix.
2017-07-04 21:25:44 +03:00
1d1fe6ea61
Add Debian Stretch to Travis CI matrix and buildpack.sh.
2017-07-04 21:17:58 +03:00
722b24b389
Print queue length and concurrency in the --rate mode.
...
This has been lost in refactoring beteen 0.5 and 1.0.
2017-07-04 11:28:07 +03:00
01eed4db66
Remove busy-wait in --rate mode to avoid CPU hogging.
...
In the bounded rate (--rate) mode, if the queue is empty, sleep for a
certain amount of time depending on the requested rate and the number of
worker threads instead of spinning on the queue.
Clean up some code duplication by removing sb_next_event().
2017-07-04 11:27:16 +03:00
66a410b192
Fix db_connect() in legacy API to initialize db_driver properly.
...
Fixes #146 .
2017-06-07 22:09:55 +03:00
b57453df60
Report events per second in the CPU benchmark. Ref. #140 .
2017-06-07 21:49:46 +03:00
6356e2b45e
Fix #139 : Json format has trailing comma
...
Remove a superfluous comma from the JSON reporter.
2017-06-04 20:03:17 +03:00
3fd67c44c5
Add a testcase for the missing file error in fileio.
2017-05-31 21:27:04 +03:00
78024349bd
sb_fileio.c: suggest to run prepare step
...
A recurring reason for errors is forgetting to run the prepare
step before running the file io test.
Write a warning line suggesting to run prepare.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2017-05-31 20:59:47 +03:00
f6bbdfa76f
fix api_report test latency check
2017-05-27 13:42:08 +03:00
fd34a95595
fix typo in --rand-pareto-h description
2017-05-27 13:42:03 +03:00
e4a08be147
Release 1.0.7.
2017-05-15 17:09:33 +03:00
538521184a
Compatibility fix for MySQL 8.0 client libraries.
...
The type of MYSQL_BIND::is_null has been changed from my_bool* to bool*
in MySQL 8.0. Since the size bool is not defined by the standard, we
either need to change the DB and Lua APIs to ensure is_null points to a
large enough buffer for MySQL API to store a bool, or do conversions
between sysbench and MySQL data structures. For now, just assert that
sizeof(bool) == 1, which is likely the case on all supported platforms.
2017-05-15 14:17:21 +03:00
d8add54b32
Exclude zesty from osx and clang combos in Travis build matrix.
2017-05-02 14:40:20 -07:00
a9a3a0508c
Add Ubuntu Zesty to Travis build matrix.
2017-05-02 14:31:39 -07:00
3809f905e2
Fix a bug resulting in incorrect latencies reported from the --rate mode.
2017-05-01 21:44:49 -07:00
e472fb8aff
Use sb_rand_uniform() instead of rand() in sb_mutex.c.
2017-04-28 17:16:06 -07:00
d15d273226
Fix #130 : Mutex Benchmark Documentation
...
Fix --mutex-loops description to say it's the number of empty loops
outside the lock. Also, make the loops really empty by using a compiler
barrier instead of incrementing a local variable.
2017-04-28 17:08:54 -07:00
04f2cfabb9
Fix wording in README.md.
2017-04-28 08:49:11 -07:00
b12b377850
Add Ubuntu Zesty to the list of buildpack.sh architectures.
2017-04-27 11:17:43 -07:00
43d5ba2f35
Add TOC to README.md.
2017-04-21 13:40:35 +03:00