dbca1c60d4
Add coveralls.io integration.
2016-09-05 15:51:34 +03:00
52da2990b5
Null-merge branch '0.5' into 1.0
2016-09-05 15:00:54 +03:00
f366d873b3
Fix branch name in Travis CI integration.
2016-09-05 14:53:16 +03:00
1c03bbf708
Merge branch '0.5' into 1.0
2016-09-05 14:51:31 +03:00
ce4996c536
Backport Travis CI support from 1.0.
2016-09-05 14:51:05 +03:00
e818251c8b
Merge branch '0.5' into 1.0
2016-09-05 10:45:30 +03:00
0169adc09f
Add tests/include/config.h.in.
2016-09-05 10:45:04 +03:00
cc8d5a9eec
Merge branch '0.5' into 1.0
2016-09-05 10:40:34 +03:00
8fc9357cf0
Add version.t test + some necessary test harness improvements.
2016-09-05 10:39:47 +03:00
843698a04a
Invoke regression tests from Travis CI.
2016-09-04 21:45:35 +03:00
1868e1c779
Merge branch '0.5' into 1.0
2016-09-04 20:31:50 +03:00
6d5bba1fe6
Basic support for functional/regression testing.
2016-09-04 20:24:07 +03:00
755a61b6cf
s/README/README.md/ in top-level Makefile.am.
2016-09-04 15:31:38 +03:00
c843e4fe0f
Update .gitignore.
2016-09-04 15:30:27 +03:00
929751e3ce
Merge branch '0.5' into 1.0
2016-09-03 14:48:08 +03:00
cbd1417cba
Make --oltp-read-only=on and --oltp-write-only=on mutually exclusive.
2016-09-03 14:47:17 +03:00
4059bec02f
Merge pull request #62 from pfriedenbach/0.5
...
Added three additional oltp controls (oltp-range-selects, oltp-delete-inserts, oltp-write-only)
2016-09-03 15:31:09 +04:00
61e47cab1c
Merge pull request #61 from pfriedenbach/0.4
...
0.4 Three additional oltp controls and 1 correction to previous PostgreSQL "FIXME"
2016-09-03 15:30:33 +04:00
7a37c6467a
Added oltp-write-only control
...
Added oltp-write-only : Specifies a test to consist of write only statements (insert, update, and deletes).
2016-09-01 11:26:06 -07:00
1824dbfa9f
Converted PostgreSQL "FIXME" to apply only to PostgreSQL
...
There is a "FIXME" in the file which generates an additional UPDATE with the same ID as DELETE/INSERT pair which appears to have been required just for PostgreSQL. That statement is now added based on the db-driver.
2016-09-01 10:48:45 -07:00
bab5d4e788
Added oltp-write-only control
...
oltp-write-only : Specifies a test to include write only statements (insert, update, and deletes).
2016-09-01 09:43:05 -07:00
76c545645d
Add two new controls:
...
oltp-range-selects controls whether to include range selects or not.
(Typical practice is to list all range select statements with zero counts. This allows a simple oltp-range-selects=off)
oltp-delete-inserts controls the number of delete/insert pairs to be executed
(example: oltp-delete-inserts=0 disables the delete/insert pair )
2016-08-31 17:35:19 -07:00
4775856148
Fix write issue with NFS direct I/O
2016-08-26 01:17:20 +00:00
110c0045fb
Merge branch '0.5' into 1.0
2016-08-23 23:33:41 +03:00
c29fc04e00
Merge pull request #59 from jeremycole/0.5
...
Create indexes after data load in parallel_prepare
2016-08-24 00:33:03 +04:00
9e4a9d4cf5
Create indexes after data load in parallel_prepare
...
Creating indexes after the data has been loaded is much faster.
2016-08-23 13:21:35 -07:00
e34fd87cd8
Workaround for a TravisCI/Homebrew bug preventing OSX builds.
2016-08-10 19:03:25 +03:00
968484d50c
Initial Debian packaging based on https://github.com/percona/sysbench-packaging
2016-08-10 18:38:53 +03:00
74cc771534
Merge branch '0.5' into 1.0
2016-07-28 10:03:15 +03:00
00eb404a86
Fix --with-mysql-libs for MySQL 5.7.
...
Don't use the hard-coded libmysqlclient_r name for the client library,
because it is obsolete in 5.7. Instead, if the client library path is
specified explicitly with --with-mysql-libs, try both libmysqlclient_r
and libmysqlclient in that order.
2016-07-28 10:00:37 +03:00
212ce3e3e5
Merge branch '0.5' into 1.0
2016-07-21 12:28:45 +03:00
a099b20f2c
Fixes #57 : Race condition in sb_timer_value()
...
Avoid updating the timer state in sb_timer_value() to make it safe for
concurrent usage on a shared timer.
2016-07-21 12:27:35 +03:00
53e9072c61
Fix debug messages to be more specific.
2016-07-20 21:48:51 +03:00
909f9ec8e7
Fixes #55 : Make percentile stats optional
...
Allow --percentile=0 as a special value to disable percentile statistics
calculation to avoid the overhead in highly concurrent benchmarks.
2016-07-05 14:17:43 +03:00
aad0e7e89f
Merge branch '0.5' into 1.0
2016-06-10 22:32:41 +03:00
ae96664c1f
Merge pull request #52 from sectorsize512/0.5
...
Adding volatile modifier to tmp variable in memory test
2016-06-10 23:29:41 +04:00
8753cb93be
Adding volatile modifier to tmp variable in memory test
...
Issue explanation:
./sysbench/sysbench --test=memory --num-threads=16 \
--memory-block-size=268435456 \
--memory-total-size=137438953472 \
--memory-oper=read \
--memory-access-mode=seq \
--memory-scope=local run
Without this commit the time to run the above command is 0.0004 seconds.
With this commit the time is greater than 3 seconds. Essentially,
without the volatile modifier, the compiler optimizes read access so
that no real access happens.
2016-06-10 14:33:48 -04:00
e04d81af2f
Merge branch '0.5' into 1.0
2016-06-09 19:56:48 +03:00
3c22365b80
Fix crash introduced by commit 9244fcf.
...
There was a regression introduced by commit regression resulting a
double release of mutex in script_lua.c.
2016-06-09 19:55:22 +03:00
2d7594b008
Merge branch '0.5' into 1.0
2016-05-31 09:41:35 +03:00
9244fcf14c
Don't lock thread mutex unnecessarily in script_lua.c and sb_cpu.c.
...
script_lua.c and sb_cpu.c do not actually need to lock any mutexes when
the test duration is not limited by the number of events.
2016-05-31 09:39:48 +03:00
9ac55acc1d
Merge branch '0.5' into 1.0
2016-05-31 09:17:10 +03:00
09e5f7e93b
Merge pull request #50 from espinaemmanuel/0.5
...
Added locking to get_request in lua scripting
2016-05-31 10:14:38 +04:00
343664e950
added locking to get_request in lua scripting
2016-05-30 11:52:17 -07:00
c8b7d30619
Merge pull request #49 from faridz88/patch-1
...
Duplicate line
2016-05-24 13:52:57 +04:00
41be58594d
Duplicate line
...
Removing duplicate line
2016-05-24 14:18:08 +04:30
d11c8f5893
Add missing parentheses.
2016-05-20 21:17:47 +03:00
e34876b078
Calculate ranges on the client + some oltp.lua cleanups.
...
Use "WHERE id BETWEEN 1 and 100" rather than "WHERE id BETWEEN 1 AND
1+99" in generated range SQL queries. I.e. calculate range bounds on the
client, there is no reason to push it to the server.
2016-05-20 20:57:29 +03:00
280ac72bf9
Merge pull request #38 from grooverdan/1.0-printf-warning-size_t
...
%zd for size_t printf ops
2016-05-16 00:57:38 +04:00
8b10d8f058
Merge pull request #47 from Marc-T/1.0
...
VS2015 fix
2016-05-16 00:57:06 +04:00