Commit Graph

928 Commits

Author SHA1 Message Date
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
f9a5dcd6e1 Typo fix. 2017-04-17 21:26:34 +03:00
c2a8203949 Fix bogus dates in RPM spec changelog. 2017-04-13 23:47:00 +03:00
ac3b64bc34 Bump version to 1.0.6. 2017-04-13 23:38:56 +03:00
fbbfe13a63 Release 1.0.6. 2017-04-13 23:29:28 +03:00
393da8298f Updated Linux installation instructions. 2017-04-13 23:25:45 +03:00
28722a2edf Fix debian/changelog. 2017-04-13 23:04:50 +03:00
770463bdb4 Updated project description in README.md and packaging files. 2017-04-13 23:01:06 +03:00
d8f17708a6 Update Debian changelog. 2017-04-13 22:23:07 +03:00
1d24ae6cad Update RPM changelog. 2017-04-13 22:11:54 +03:00
62b081b57c Remove Ubuntu Precise from the list of aarch64 distributions. 2017-04-13 07:36:02 +03:00
09a48c8421 Use short version number for release builds in .travis.yml. 2017-04-13 00:20:50 +03:00
3b8da2be5e Set git depth to 100500. Ought to be enough for anybody. 2017-04-12 22:30:12 +03:00
f2a89fa492 Show the output of 'git describe' in Travis builds. 2017-04-12 21:58:45 +03:00
0c6517de1a Allow passing extra arguments to package_cloud via PACKAGECLOUD_EXTRA_ARGS. 2017-04-12 20:34:34 +03:00
49d02438aa Syntax fix in .travis.yml. 2017-04-12 20:21:41 +03:00
adf5c76296 Define changelog name and email for .deb packages. 2017-04-12 20:16:42 +03:00
e53e0f9fe9 Use short version numbers for release builds. 2017-04-12 20:16:29 +03:00
75b530c7fc Fix builds with MariaDB client libraries. 2017-04-12 19:34:30 +03:00
589f66f1ad Move code in .travis.yml to avoid ignoring packpack errors. 2017-04-12 19:31:47 +03:00
101543b1ce Fix syntax error. 2017-04-12 18:53:33 +03:00