Commit Graph

972 Commits

Author SHA1 Message Date
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
a9bb7a9869 Remove Fedora 25 from CI/build/packaging matrices (EOL). 2017-12-13 11:43:42 +03:00
ba9b455379 Merge upstream ConcurrencyKit up to commit 005c715. 2017-12-11 11:10:26 +03:00
6a8770c4b5 Release 1.0.11. 2017-12-09 20:05:59 +03:00
b9ba4c04d5 Update Debian changelog. 2017-12-09 19:53:49 +03:00
d9901dca9d Add Debian Stretch to Travis and package build matrices.
Fixes #192.
2017-12-09 19:20:06 +03:00
71a459496d Fix a comment typo. 2017-12-09 14:50:29 +03:00
0a9acfe2a2 Fix compiler warnings introduced by commit 5a9d681.
Revert counter API functions to use 'static inline' again, but make them
available from Lua by 'instantiating' in sb_lua.c.
2017-12-02 21:32:33 +03:00
d748388fc7 Update comments for counter API functions. 2017-12-02 15:20:56 +03:00
5c42a01822 Add Ubuntu Artful to default AArch64 build matrix. 2017-12-01 19:57:54 +03:00
1d6d221bc7 Add Fedora 27 (x86_64, AArch64) to default build matrices. 2017-12-01 18:23:14 +03:00
ba77afa3f9 Fix Travis macOS builds by replacing pip with pip2.
pip is no longer available in default images as per
https://github.com/travis-ci/travis-ci/issues/8829.
2017-12-01 12:26:03 +03:00
5a9d6811df Use C99 inlines for sb_counter API to make them LuaJIT/FFI usable. 2017-12-01 11:09:58 +03:00
e6f34657d2 Print a header before options lists on missing --file-test-mode.
When the required --file-test-mode option is missing, print a header
before printing the list of available options.
2017-12-01 10:45:52 +03:00
1b52b4fd36 Clarify Oracle DBMS support.
Add a warning about support for Oracle DBMS being unmaintained to
README-Oracle.md.

Closes GH-179.
2017-11-14 20:27:17 +03:00
0169d42681 Fix #180: Add support for CockroachDB (PostgreSQL protocol)
Add '40001' (serialization_failure) to the list of ignored SQL states in
drv_pgsql.c. The error appears to be specific to CockroachDB, but
restarting the current transaction is the only reasonable way to handle
it.
2017-11-14 11:30:12 +03:00
a23866610f Add references to openssl and proper LDFLAGS to macOS build instructions. 2017-11-10 21:24:15 +03:00
53bcc667ca Sort PostgreSQL index defs in regression tests to make results deterministic. 2017-11-10 11:44:08 +03:00
fa6d0d1246 Add libtool to macOS build requirements. 2017-11-10 10:12:43 +03:00
06c7f55f24 Fix #178: (--tables>1 --threads>1 broken in oltp_insert.lua)
A combination of --tables and --threads with non-default (i.e. higher
than 1) values resulted in incompleted set of tables generated by
"prepare" for the oltp_insert.lua script.
2017-11-09 12:35:17 +03:00
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