Commit Graph

1199 Commits

Author SHA1 Message Date
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
0464dfbddb Convert sb_counter_add() to C99 inline. 2017-12-01 13:24:47 +03:00
f6604291fa Merge branch '1.0' 2017-12-01 13:22:05 +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
dcf0275384 Merge pull request #185 from jaypipes/rand_str_var_len
Adds support for variable-length rand string
2017-11-27 11:21:56 +03:00
9ae462a7b6 Remove support for EXTRA_LDFLAGS, libumem and mtmalloc from configure.ac. 2017-11-26 22:42:05 +03:00
185e8bc853 Return 0 when max_len == 0 2017-11-25 08:54:34 -05:00
b877b5f986 Adds support for variable-length rand string
Adds a new random generator of variable-length strings:

```lua
s = sysbench.rand.varstring(10, 100)
```

"s" will be a string containing ASCII characters from '0' to 'z',
inclusive. It will be a length between 10 and 100 characters long.

Addresses GH Issue #17
2017-11-23 10:01:50 -05:00
3595963ac0 Merge branch '1.0' 2017-11-14 20:31:44 +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
d258e49784 Merge branch '1.0' 2017-11-14 11:39:30 +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
3aa143f80c Merge branch '1.0' 2017-11-10 21:24:51 +03:00
a23866610f Add references to openssl and proper LDFLAGS to macOS build instructions. 2017-11-10 21:24:15 +03:00
fc5fa698a3 Merge branch '1.0' 2017-11-10 11:47:43 +03:00
53bcc667ca Sort PostgreSQL index defs in regression tests to make results deterministic. 2017-11-10 11:44:08 +03:00
ac3a0c3131 Merge branch '1.0' 2017-11-10 10:13:08 +03:00
fa6d0d1246 Add libtool to macOS build requirements. 2017-11-10 10:12:43 +03:00
dbcba59927 Merge branch '1.0' 2017-11-09 14:50:15 +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
0167e45ffa Merge branch '1.0' 2017-10-31 10:02:30 +03:00
a9f37bd42d Update comments in buildpack.sh. 2017-10-31 10:02:06 +03:00
0195495277 Merge branch '1.0' 2017-10-29 08:07:57 +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
9079e0a271 Merge branch '1.0' 2017-10-26 17:24:19 +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
b71f33f2c3 Merge branch '1.0' 2017-10-25 14:52:49 +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
edb7e04fa3 Merge branch '1.0' 2017-10-25 14:39:38 +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
76eeace786 Build with -O3 instead of -O2 by default. 2017-09-29 23:53:07 +03:00
07b1146b15 Fix #173: Commit feb0346 removed latency sum from reporting
Add latency sum back to reports.
2017-09-19 08:48:27 +03:00
feb0346fc3 Various cleanups and improvements in benchmark reports. 2017-09-18 23:14:01 +03:00
df0403a19c Merge branch '1.0' 2017-09-17 23:33:26 +03:00
f5fa7800cb A better version of the fix for #172. 2017-09-17 23:32:38 +03:00
de8c40f52d Merge branch '1.0' 2017-09-17 22:27:33 +03:00