Commit Graph

1089 Commits

Author SHA1 Message Date
c39db7fe5e Attempt to fix MacOS builds in Travis CI. 2016-11-30 15:52:46 +03:00
8ff0cc14e4 Fix help_drv_mysql.t after adding --mysql-ssl-cipher. 2016-11-29 22:04:11 +03:00
be71466faf Minor fixes to contributed SSL-related changes in drv_mysql.c. 2016-11-29 21:55:01 +03:00
15d0969d18 MySQL/SSL changes:
- added MYSQL_OPT_SSL_MODE option that's required now to enable/disable SSL
- added mysql-ssl-cipher option to specify ssl-cipher
2016-11-29 21:55:01 +03:00
2583abbae8 Decrease percentile granularity and value range to reduce memory consumption. 2016-11-27 18:32:39 +03:00
c8845d0e20 Fix check for sb_globals.percentile_rank in sb_percentile_calculate(). 2016-11-27 18:01:08 +03:00
23689175eb pgsql mode now works with Redshift server. Its working, but need to eventually split this to another Redshift section (because obviously this doesn't work with PGSQL any more) 2016-11-23 07:32:59 +00:00
7085367623 Merge pull request #77 from manzur/1.0
error out when negative values are passed as parameters
2016-10-26 23:36:37 +04:00
74488e4c11 error out when negative values are passed as num_threads and num_files
Those parameters are not meant to be negative:
* passing `num_threads=1` crashes with "Memory allocation failure."
* while `num_files=-1` is interpreted as unsigned int making it create
  lots(2^31-1) of files
2016-10-26 21:09:10 +02:00
e43059d69d Use glob patterns to hide version-specific COLLATE clauses in script_oltp_mysql.t. 2016-10-23 11:53:48 +03:00
c3aa671364 Fix tests to pass on Travis CI with different MySQL and PostgreSQL server version. 2016-10-23 11:26:01 +03:00
50645177bf Use DROP TABLE IF EXISTS on cleanup. 2016-10-23 11:23:36 +03:00
0a6bc8a9ed Add tests for --oltp-create-secondary. 2016-10-22 21:30:24 +03:00
be5ce00ad7 Don't default to the first available driver when an invalid name was specified. 2016-10-22 21:12:07 +03:00
69120c87ff Rename command-specific tests to cmd_* for clarity. 2016-10-22 19:51:18 +03:00
8977a0258c add --oltp-create-secondary option to optionally disable creation of secondary index 2016-10-21 19:26:01 -07:00
5dd299c43b Fixes #74: PATH_MAX / DATA_PATH undefined
Don't fail to compile if DATA_PATH is undefined (e.g. in Windows
builds).
2016-10-19 13:04:26 +03:00
ca8ead08ab Include stdint.h sb_percentile.h. 2016-10-18 12:24:55 +03:00
16d8876a61 Replace percentile mutex with CK atomics + rwlock.
The idea is to remove the mutex from the common path, i.e. worker
threads updating the percentile statistics. The only reason why an
rwlock is needed is sb_percentile_reset() in which case we want to block
all updates until the reset is done to not lose any events during the
reset process.

TODO: This can be further improved with ck_brlock and scalable counters.
2016-10-18 12:15:44 +03:00
636eedbaa1 Adjust tests. 2016-10-16 23:24:31 +03:00
bf2924b0fc Use an atomic fetch-and-add instead of a global mutex in sb_lua_get_request().
This was a scalability bottleneck with --max-requests>0.
2016-10-16 23:09:51 +03:00
65c083a6ba Report Git commit SHA in configure and "sysbench --version" output. 2016-10-16 22:57:37 +03:00
fedf3f6d1d Merge from Concurrency Kit upstream. 2016-10-16 22:57:37 +03:00
6bf78c6132 Initial Concurrency Kit import. 2016-10-16 22:57:37 +03:00
8b581ae4e7 Merge from LuaJIT upstream. 2016-10-16 22:52:29 +03:00
0e5ebc6288 Merge branch '1.0' into luajit 2016-10-16 20:17:40 +03:00
48124f838b Merge branch '0.5' into 1.0 2016-10-16 20:17:20 +03:00
71e145c483 In sb_lua_new_state() always push a value on stack before calling lua_setglobal(). 2016-10-16 20:16:29 +03:00
ff7d2ba931 Remove the deprecated luaopen_math() call. 2016-10-16 13:26:49 +03:00
822d4cf454 Merge AArch64 port from
https://github.com/cbaylis/luajit-aarch64/tree/aarch64-v2.1-new
2016-10-15 21:50:24 +03:00
fc89625ac9 Adjust drv_mysql.t, drv_pgsql.t to not fail on slower machines. 2016-10-15 14:30:13 +03:00
446bc75843 Merge branch '1.0' into luajit 2016-10-15 14:10:57 +03:00
7eeac290a9 Fix luajit branch to pass 'make distcheck' and Travis CI builds. 2016-10-15 13:43:10 +03:00
bd237c73bf Fix Sun Studio + Solaris/Sparc builds. 2016-10-14 08:05:34 +03:00
21029a6b42 Add Emacs and Vi modelines in .travis.yml. 2016-10-12 12:57:22 +03:00
69f915eda3 Merge branch '0.5' into 1.0 2016-10-12 12:01:41 +03:00
25c10a0199 Adjust test_threads.t to not fail on slow hosts in Travis CI. 2016-10-12 11:49:03 +03:00
81c3ea47a6 Fix PostgreSQL upgrade issues in Travis CI. 2016-10-12 11:38:03 +03:00
f2bfdc7f2d Don't use caches, as they may cause issues on PostgreSQL updates. 2016-10-11 09:29:07 +03:00
c67b4a24df Don't use caches, as they may cause issues on PostgreSQL updates. 2016-10-11 09:21:58 +03:00
8a11204c87 Add README-Oracle.md to EXTRA_DIST. 2016-10-10 21:53:39 +03:00
3660c3655b Fix tests for the luajit branch. 2016-10-09 19:33:51 +02:00
ff5cc25e1b Manually merge branch '1.0' into luajit. 2016-10-09 17:56:05 +02:00
fd04338327 Do not overflow buffer in strncat 2016-09-29 11:48:39 +03:00
b953dab30f Merge pull request #71 from plusky/strncat_overflow
Fix potential buffer overflow
2016-09-29 12:47:34 +04:00
e6fab32604 Do not overflow buffer in strncat 2016-09-29 10:39:47 +02:00
5807d7772d Move Oracle build steps into a separate file.
Move Oracle build steps into a separate file, link to it from the main
README.md.
2016-09-26 14:24:14 +03:00
342bd56691 Merge pull request #70 from t5unamie/1.0
simple build instructions to include oracle client, Also minor change…
2016-09-26 15:05:51 +04:00
fc37905725 simple build instructions to include oracle client, Also minor change to look at correct folder structure of 12.1 oracle client. 2016-09-26 11:53:01 +01:00
443ae8dce6 Merge branch '0.5' into 1.0 2016-09-22 07:01:04 -07:00