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
da7158e871
Merge branch '1.0' into luajit
2016-03-22 19:04:45 +03:00
a30703fd4c
Change project info reported by ./configure.
2016-03-22 19:04:04 +03:00
8745806da6
Print a status summary at the end of ./configure output.
2016-03-22 19:03:16 +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
4ac3c2b7e0
Merge branch '1.0' into luajit
2016-03-20 20:41:37 +03:00
fed1958d7b
Update LuaJIT to 2.1.0-beta2.
...
Merge commit '166343f6181318e328598e1ecaa7a1d94a826b5c' into luajit
2016-03-20 20:32:01 +03:00
166343f618
Squashed 'third_party/luajit/luajit/' changes from 6cb38f7..be25592
...
be25592 ARM: Fix build problem with external frame unwinding.
64c6da6 MIPS soft-float: Fix code generation for HREF.
75d046d DynASM/x86: Add ADX instructions.
3e4a196 RELEASE LuaJIT-2.1.0-beta2
8290076 Update changelog.
f423194 Merge branch 'master' into v2.1
db1b399 Bump copyright date to 2016.
6f3eed9 Fix Android/x86 build.
1c45c6a Fix build with JIT disabled.
18f6aa9 Use internal implementation for converting FP numbers to strings.
339a1fd Windows/x64/LJ_GC64: Fix math.frexp() and math.modf().
git-subtree-dir: third_party/luajit/luajit
git-subtree-split: be2559291e620bac6fffea470119be84b3bc63c5
2016-03-20 20:32:01 +03:00
6e7ff366e6
Add -ldl to LUAJIT_LDFLAGS when building with bundled LuaJIT on Linux.
2016-03-20 16:29:42 +03:00
bf35bbae1b
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-03-20 15:08:30 +03:00
b7358eb6a0
Don't build bundled LuaJIT when --with-system-luajit was passed to configure.
2016-03-20 15:07:49 +03:00
4b6c388a4d
Autoconf cleanups.
2016-03-20 14:18:15 +03:00
d86147b0b7
README -> README.md in Makefile.am.
2016-03-20 11:43:24 +03:00
bf94de28f6
Support building with bundled LuaJIT.
2016-03-20 01:38:36 +03:00
536c663b3a
Squashed 'third_party/luajit/luajit/' content from commit 6cb38f7
...
git-subtree-dir: third_party/luajit/luajit
git-subtree-split: 6cb38f788f58d642d1b9198aace947e00f1dc2d8
2016-03-19 20:36:26 +03:00
dec6b9b9e3
Merge commit '536c663b3aef2d114a2083feef33e356ff354ac2' as 'third_party/luajit/luajit'
2016-03-19 20:36:26 +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
1184aff06b
Merge branch '1.0' into luajit
2016-03-09 23:45:39 +03:00
6fc8133a90
Take 'set -e' into account when checking for pkg-config.
2016-03-07 20:42:19 +03:00
ba0fddb088
Check if pkg-config is available and throw an error if it's not in autogen.sh
2016-03-07 20:20:41 +03:00
4ad92418c6
Fix compatibility with Autoconf 2.63 broken by adding ax_tls.m4.
2016-02-25 18:00:46 +08:00
03df5c0a6f
Fix error message when a TCP connection fails.
2016-02-25 12:03:53 +08:00
7414d441fe
Fix --mysql-host broken by the previous commit.
2016-02-25 11:44:06 +08:00
9922dd99ed
Allow --mysql-port to be a list.
...
Allow --mysql-port to be a list rather than just a single value similar
to --mysql-host. When both --mysql-host and --mysql-port are specified
as lists of values, when creating connections first iterate on ports
with the current host, then move to the next host in the list.
2016-02-25 11:01:58 +08:00
1c9ddea0e2
Properly initialize thread-local RNG state.
2016-02-24 21:34:19 +08:00