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
8ac5bd6720
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-05-15 23:51:14 +03:00
72e8223996
Don't remake aclocal.m4 and configure after autogen.sh && configure.
...
Call aclocal after libtoolize, as otherwise `make` will remake
aclocal.m4 and configure due to aclocal.m4 being older than libtool
macros installed to m4/ by libtoolize.
2016-05-15 22:40:39 +03:00
29845be750
VS2015 fix
...
timespec and snprintf are handled natively in VS2015
2016-05-12 10:03:25 +02:00
56fe389762
Fixes #44 : seqwr deleting test files
...
Re-create files after removing them when starting a --file-test-mode=seqwr benchmark.
2016-05-04 23:07:37 +03:00
9af6a88207
Use srandom()/random() to initialize per-thread RNGs.
2016-04-28 09:30:51 +03:00
8c69009f1c
%zd for size_t printf ops
2016-04-20 10:15:01 +10:00
51a8c6f508
Merge branch '0.5' into 1.0
2016-04-14 13:47:39 +03:00
64aaf37aa4
Merge pull request #35 from Percona-Lab/0.5
...
Fix for parallel_prepare
2016-04-14 14:46:34 +04:00
c2b0edf844
Merge pull request #36 from Marc-T/1.0
...
FileIO fix
2016-04-11 18:28:09 +04:00
6f2ac41d16
FileIO fix
...
- Fix sb_create function definition
- Fix Windows "CreateFile" parameters
2016-04-11 13:42:24 +02:00
4190ad29b7
adjust event generation for a high volume
2016-04-10 19:59:06 -04:00
f1bc151b58
Merge pull request #1 from akopytov/0.5
...
Merge upstream
2016-04-08 10:38:50 -07:00
cb9a2cdc29
Revert "Fix the issue when threads running < num_threads"
...
This reverts commit 06aa4d2d6b16a5c6fac5884681bd32d12f47ef34.
2016-04-08 17:34:50 +00:00
db9df06050
Add __attribute__((format...)) to printf-like function declarations.
...
The SB_ATTRIBUTE_FORMAT() now expands to __attribute__((format...) on
platforms that support it. Fixed a number of inconsistencies between
format string and arguments revealed by the format attribute.
2016-03-26 22:43:48 +03:00
47c0ec5a79
Improve results formatting in the fileio test.
2016-03-26 21:46:41 +03:00
5d87570f6b
Fix prepare parallel for new thread initialization
2016-03-24 22:57:49 -04:00
d9a9fc5aff
Merge pull request #33 from xypron/1.0
...
configure.ac: bump version number to 1.0
2016-03-23 17:35:47 +04:00
684c433a6e
configure.ac: bump version number to 1.0
...
The version number in configure.ac should match the branch.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2016-03-23 12:09:02 +01:00
ef413c702a
Merge pull request #32 from xypron/1.0
...
Consistent usage of units.
2016-03-23 14:18:33 +04:00
c9ba61dc75
sb_memory.c: use correct units
...
Use the binary prefixes defined in IEC 80000-13.
Ki, kibi = 2^10
Mi, mebi = 2^20
Use B for bytes.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2016-03-23 10:49:21 +01:00
d373c96447
sb_fileio.c: use correct units
...
Use the binary prefixes defined in IEC 80000-13.
Ki, kibi = 2^10
Mi, mebi = 2^20
Gi, gibi = 2^30
Ti, tebi = 2^40
Use B for Byte, b for bit.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2016-03-23 10:49:18 +01:00
7acfa8498b
sb_print_value_size: use Ki, Mi, Gi, Ti
...
Use the binary prefixes defined in IEC 80000-13.
Ki, kibi = 2^10
Mi, mebi = 2^20
Gi, gibi = 2^30
Ti, tebi = 2^40
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2016-03-23 10:49:14 +01:00
93e64fa802
Re-create files after removing them when starting a --file-test-mode=seqwr benchmark.
2016-03-23 11:25:47 +03:00
a04e9075fe
Don't install PostgreSQL in Travis, as it seems to be installed by default.
2016-03-23 07:51:03 +03:00
24c7426e68
Fix PostgreSQL driver.
2016-03-23 00:09:26 +03:00
48bb807231
Add --with-pgsql to Travis CI builds.
2016-03-23 00:04:21 +03:00
241828a303
Merge branch '0.5' into 1.0
2016-03-22 21:13:41 +03:00
26d5046cc9
Fixes #29 : FATAL: Failed to read file! file: 24 pos: 14516224 errno = 0 (Success)
...
Fail when test files do not exist for `sysbench --test=fileio run`,
i.e. when they have not been prepared with `sysbench prepare`.
2016-03-22 21:09:41 +03:00
fe7b994c2e
Add build status to README.md.
2016-03-22 16:17:55 +03:00
029ea46492
Actually build code with Travis CI builds.
2016-03-22 15:48:01 +03:00
3fe2b22922
Initial Travis CI integration.
2016-03-22 15:27:19 +03:00
04d5fa0d27
Merge pull request #26 from Marc-T/1.0
...
Rand for Windows
2016-03-18 16:49:11 +04:00
39f069877f
Fix CMakeLists
2016-03-18 11:49:05 +01:00
333b62360d
Rand for Windows
...
- Secure rand_s function
- Microsoft TLS implementation for sb_rng_state
2016-03-18 11:34:16 +01:00
3650f38bbf
Merge branch '0.5' into 1.0
2016-03-18 12:51:49 +03:00
57e62669b9
Fixes #25 : Include database-related command line options in help
...
Call db_print_help() from print_help() + some cosmetic help changes.
2016-03-18 12:50:41 +03:00
f1acc1bbb6
Merge pull request #24 from Marc-T/1.0
...
Fix pthread_self return type
2016-03-18 13:00:23 +04:00
5d404c37df
Fix pthread_self return type
...
Fix pthread_self(void) return type
>> int > pthread_t
2016-03-18 09:54:36 +01:00
c47ae9e873
Merge branch '0.5' into 1.0
2016-03-18 00:18:34 +03:00
1b5e5619cc
Fix barrier error reporting.
2016-03-18 00:17:36 +03:00
b79051e89c
Merge branch '0.5' into 1.0
2016-03-17 15:38:30 +03:00
2cdd46e2a2
Fixes #22 : Timers and reporting thread should wait for worker thread to be initialized
...
A barrier is now used by worker and background threads and the main
thread to make sure all threads have initialized before executing
events. If some threads fail to initialize within a timeout (hard-coded
to 30 seconds for now), bail out with an error message.
2016-03-17 15:36:23 +03:00
06aa4d2d6b
Fix the issue when threads running < num_threads
2016-03-17 00:28:43 -04:00
4ad92418c6
Fix compatibility with Autoconf 2.63 broken by adding ax_tls.m4.
2016-02-25 18:00:46 +08:00