Commit Graph

1139 Commits

Author SHA1 Message Date
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
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
e014288114 Merge branch '1.0' 2017-09-17 20:18:22 +03:00
d2a4e2f8e9 Add Fedora 26 AArch64 to buildpack.sh platform matrix. 2017-09-17 20:17:39 +03:00
9fd483f8ee Merge branch '1.0' 2017-09-16 11:34:12 +03:00
85320c71d9 Add Fedora 26 x86_64 to Travis CI build matrix. 2017-09-16 11:33:47 +03:00
055c438e94 Merge branch '1.0' 2017-09-16 10:40:45 +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
c01087138d Make sysbench.opt available to init()/done() by exporting it to global Lua state. 2017-09-15 20:48:27 +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