Commit Graph

  • d767dba581 Move the unused --myisam-max-rows option from drv_mysql.c to legacy API. Alexey Kopytov 2017-01-18 21:52:32 +03:00
  • 5df558c509 In sysbench.sql.lua, report the caller on error, not the check_type() itself. Alexey Kopytov 2017-01-18 19:34:38 +03:00
  • 89d20cc552 Free connection's result set when closing it. Alexey Kopytov 2017-01-18 19:34:16 +03:00
  • 6d38f95b32 Fix a comment typo. Alexey Kopytov 2017-01-18 19:33:45 +03:00
  • a68ec7512b Fix 'make distcheck'. Alexey Kopytov 2017-01-18 16:56:07 +03:00
  • 0b8bd15242 s/SysBench/sysbench/g Alexey Kopytov 2017-01-18 15:24:50 +03:00
  • 1582a04b72 Move sysbench.rand.* functions to sysbench.rand.lua. Alexey Kopytov 2017-01-18 15:19:19 +03:00
  • e6849052fe Fix check for event() function in the previous commit. Alexey Kopytov 2017-01-18 13:32:32 +03:00
  • 1168d07ae7 Fixes #103: fail with an error when oltp_common.lua is called directly. Alexey Kopytov 2017-01-18 13:25:42 +03:00
  • aa7fbce225 Add a comment to oltp_common.lua. Alexey Kopytov 2017-01-18 13:16:40 +03:00
  • 2f865a0053 Use pgsql_common.sh in PostgreSQL-specific regression tests. Alexey Kopytov 2017-01-18 12:13:49 +03:00
  • 9dc835aa48 Disable api_sql_pgsql.t for now. Prepared statements need more work for PostgreSQL. Alexey Kopytov 2017-01-18 00:55:07 +03:00
  • 12184eef13 Fix test_run.sh to work with named tests. Alexey Kopytov 2017-01-18 00:32:31 +03:00
  • a1d7c7b483 Fix 'make distcheck'. Alexey Kopytov 2017-01-18 00:10:21 +03:00
  • 5e7d79b49f Fixes #13: Export db_fetch_row Alexey Kopytov 2017-01-17 22:42:00 +03:00
  • 50f2c49c93 Improve script_bulk_insert_*.t tests stability. Alexey Kopytov 2017-01-17 12:49:31 +03:00
  • 1afeecf61d Revert unrelated changes from the previous commit. Alexey Kopytov 2017-01-17 12:24:08 +03:00
  • 610c26bf17 Cache-line align important data structures in sb_lua.c. Alexey Kopytov 2017-01-17 12:18:27 +03:00
  • 5cab979e7d Test multiple connections per thread. Alexey Kopytov 2017-01-17 01:12:31 +03:00
  • 7f0e30c18c Use local counter variables in oltp_common.lua. Alexey Kopytov 2017-01-17 00:41:28 +03:00
  • 950d848fcd Fix oltp_insert.lua, add a regression test. Alexey Kopytov 2017-01-17 00:39:44 +03:00
  • a6cebd3a57 Rewrite OLTP benchmarks with the new SQL API + cleanups. Alexey Kopytov 2017-01-17 00:17:17 +03:00
  • ee22b36298 Rewrite bulk_insert.lua to the new SQL API + regression tests. Alexey Kopytov 2017-01-16 17:54:07 +03:00
  • 33dd1cec69 Exclude third-party libraries from coverage report. Alexey Kopytov 2017-01-16 16:37:16 +03:00
  • ea500cc834 Presumably better way to suppress SSL errors with coveralls in Travis. Alexey Kopytov 2017-01-16 16:26:07 +03:00
  • 345b60bc7e Suppress urllib3 warnings for coveralls to work in Travis CI. Alexey Kopytov 2017-01-16 16:17:13 +03:00
  • 5a63a124a1 Fix Travis/Coveralls links in the 'master' branch. Alexey Kopytov 2017-01-16 16:13:52 +03:00
  • 819203785f Add select_random*.lua scripts to Makefile.am. Alexey Kopytov 2017-01-16 16:09:08 +03:00
  • ae2d772ff2 Remove stubs for old Lua scripts. Alexey Kopytov 2017-01-16 16:05:36 +03:00
  • 8925dfdc79 Re-write select_random*.lua benchmarks to the new SQL API. Alexey Kopytov 2017-01-16 16:01:35 +03:00
  • 42ac8f93c9 Merge branch '1.0' Alexey Kopytov 2017-01-16 11:16:13 +03:00
  • be1cf06df1 Merge branch '0.5' into 1.0 Alexey Kopytov 2017-01-16 11:15:13 +03:00
  • b23a7db377 Merge branch '0.4' into 0.5 Alexey Kopytov 2017-01-16 11:14:00 +03:00
  • ecb0ace49d Fix an incorrect free() in list option handling. Alexey Kopytov 2017-01-16 11:04:41 +03:00
  • a4ca87f64d Add MemorySanitizer support to configure.ac. Use it in Travis CI when supported. Alexey Kopytov 2017-01-16 10:46:09 +03:00
  • 372bc69792 Check if ASAN is supported by the compiler. Alexey Kopytov 2017-01-16 10:18:47 +03:00
  • d019abd180 Fix ASAN support in configure.ac. Alexey Kopytov 2017-01-16 09:47:31 +03:00
  • 52e075cb0c Add AddressSanitizer support. Enable it by default in Travis CI builds. Alexey Kopytov 2017-01-16 09:34:13 +03:00
  • 60778578f8 Fixes #101: Obscure ./configure error when pkg-config is not installed Alexey Kopytov 2017-01-16 08:41:48 +03:00
  • 4a90b2455a Add missing sb_util.c. Alexey Kopytov 2017-01-15 20:04:38 +03:00
  • 3e5d8653dc Align timer arrays to cache line boundary. Alexey Kopytov 2017-01-15 20:03:28 +03:00
  • 913a1215d3 Fix typo. Alexey Kopytov 2017-01-15 19:22:13 +03:00
  • 4ee53120ea Make tls_lua_context actually a thread-local variable. Alexey Kopytov 2017-01-15 19:19:57 +03:00
  • 4a94259a7d Replace ugly Lua context code with a thread-local variable. Alexey Kopytov 2017-01-15 19:06:44 +03:00
  • d66c0cbce4 Exclude GCC/OSX from Travis CI build matrix. Alexey Kopytov 2017-01-15 17:10:37 +03:00
  • 378c49b275 Fix legacy OLTP regression tests. Alexey Kopytov 2017-01-15 16:53:00 +03:00
  • 84fed669cc Move oltp_point_select.lua from sysbench/tests/db/ to sysbench/lua/. Alexey Kopytov 2017-01-15 16:13:14 +03:00
  • ebc2cb5420 Export prepared statements API to Lua. Alexey Kopytov 2017-01-14 20:12:27 +03:00
  • 1d434809ec SQL API refactoring, cut #1. Alexey Kopytov 2017-01-11 19:31:37 +03:00
  • 278a14fd9f Merged LuaJIT upstream up to 8e5d7be. Alexey Kopytov 2017-01-11 20:22:04 +03:00
  • b255f3e600 Rename global_histogram to sb_latency_histogram. Alexey Kopytov 2017-01-07 08:43:12 +03:00
  • ef79b6629b Merge ax_gcc_archflag.m4 from upstream. Alexey Kopytov 2017-01-06 20:35:22 +03:00
  • de3003c2c5 Fixes #96: sb_rand_uniq(1, oltp_table_size) generate duplicate value Alexey Kopytov 2017-01-06 18:58:06 +03:00
  • 95275d8ded Add extern inline declarations for xoroshiro* functions. Alexey Kopytov 2017-01-06 16:08:05 +03:00
  • f04e75429c Fix xoroshiro128plus.h to use C99 inline. Alexey Kopytov 2017-01-06 15:58:35 +03:00
  • c22f35f8ae Fix AC_MSG_ERROR() usage. Alexey Kopytov 2017-01-06 15:43:59 +03:00
  • e84cd1f89c Check for pkg-config availability in configure.ac. Alexey Kopytov 2017-01-06 15:41:49 +03:00
  • 58e4e6e65c Fix legacy API tests. Alexey Kopytov 2017-01-06 15:10:29 +03:00
  • e5a886d3f7 Enforce a C99 compiler. Alexey Kopytov 2017-01-06 14:34:06 +03:00
  • 9e5507db1c Merge branch '1.0' Alexey Kopytov 2017-01-06 09:42:00 +03:00
  • 99b0f4e260 Merge branch '0.5' into 1.0 Alexey Kopytov 2017-01-06 09:40:52 +03:00
  • 3ff6f998cf More Homebrew + PostgreSQL fixes for Travis. Alexey Kopytov 2017-01-06 00:48:15 +03:00
  • e192f416f9 Fix Homebrew + PostgreSQL woes again. Alexey Kopytov 2017-01-04 15:00:44 +03:00
  • ffc2782153 Fix portability by masking table options in api_sql.t. Alexey Kopytov 2017-01-05 23:16:12 +03:00
  • 2a523826dc Use MySQL connection arguments in API tests. Alexey Kopytov 2017-01-05 23:10:34 +03:00
  • 5e94314e69 Specify DB driver explicitly in API tests. Alexey Kopytov 2017-01-05 23:03:49 +03:00
  • e25e4d4864 Lua API regression tests. Alexey Kopytov 2017-01-05 23:00:13 +03:00
  • bfec6bd3d6 Fix PRNG seeding in sb_rand_thread_init(). Alexey Kopytov 2017-01-05 10:07:08 +03:00
  • daa763adba -ldl belongs to LDADD, not LDFLAGS. Alexey Kopytov 2017-01-05 07:49:29 +03:00
  • 51ff4d685d Add -ldl and -rdynamic to LDFLAGS when building with system Luajit as well. Alexey Kopytov 2017-01-05 07:44:44 +03:00
  • 8ae115c63b Add -rdynamic to linker flags on Linux for bundled LuaJIT. Alexey Kopytov 2017-01-04 21:13:36 +03:00
  • 6c00399b10 Convert Lua interface to random numbers to FFI. Alexey Kopytov 2017-01-04 20:22:14 +03:00
  • 80f5c6a8f7 Changed bounded PRNG functions to uint32_t for easier FFI integration. Alexey Kopytov 2017-01-04 19:19:20 +03:00
  • 3c89312c6d Fix cmd_help.t. Alexey Kopytov 2017-01-04 18:31:26 +03:00
  • 0df9342413 Correct help text for --rand-seed. Alexey Kopytov 2017-01-04 17:50:22 +03:00
  • 06636afb5e Fix Homebrew + PostgreSQL woes again. Alexey Kopytov 2017-01-04 15:00:44 +03:00
  • 3372469fe6 Merge branch '1.0' Alexey Kopytov 2017-01-04 17:27:48 +03:00
  • b4092bfb64 Merge pull request #99 from paulmenzel/fix-variable-type Alexey Kopytov 2017-01-04 18:20:46 +04:00
  • 611dbce9a4 sb_logger: Correct variable type Paul Menzel 2017-01-04 13:28:26 +01:00
  • ff26f0ed57 Fix Homebrew + PostgreSQL woes again. Alexey Kopytov 2017-01-04 15:00:44 +03:00
  • 8ecd804d74 Use sb_rand_uniform_double() + FP arithmetic to generate bounded random values. Alexey Kopytov 2017-01-04 14:10:25 +03:00
  • 8966e583ed Convert PRNG API to 64 bit. Alexey Kopytov 2017-01-03 22:25:07 +03:00
  • 6b3077f446 Fixes #27: Provide portable reentrant PRNG Alexey Kopytov 2017-01-03 11:54:03 +03:00
  • 74938b7c83 Rename sb_rand() to sb_rand_default(). Alexey Kopytov 2017-01-03 10:23:33 +03:00
  • 6391638744 Unify timer API naming. Alexey Kopytov 2017-01-03 09:39:01 +03:00
  • 1b91649457 Move all pseudo-random numbers related code to sb_rand.c Alexey Kopytov 2017-01-02 21:38:01 +03:00
  • 3a96db7a58 Fix timestamps in interval reports. Alexey Kopytov 2017-01-02 16:00:52 +03:00
  • 32dc157d9b Also reset last_reconnects in db_reset_stats(). Alexey Kopytov 2017-01-02 15:52:25 +03:00
  • 821be2a7c4 Timers overhaul. Alexey Kopytov 2017-01-02 13:25:36 +03:00
  • 8f5cbe3608 Replace sb_histogram_t::interm_nslots with a constant. Alexey Kopytov 2017-01-01 20:28:36 +03:00
  • 0f57b078d7 Align global_histogram to cache line size. Alexey Kopytov 2017-01-01 20:26:01 +03:00
  • b77e046978 Pad sb_timer_t to cache line size. Alexey Kopytov 2017-01-01 17:35:12 +03:00
  • c3fd06203b Better formatting for help/usage text. Alexey Kopytov 2016-12-30 21:04:57 +03:00
  • d5b661a019 Implement --histogram option. Alexey Kopytov 2016-12-30 19:52:10 +03:00
  • 2aed6df4d5 Assume 128-byte cache line on AArch64 and PowerPC. Alexey Kopytov 2016-12-30 11:35:10 +03:00
  • f125b3d15c Pass CPPFLAGS to ConcurrencyKit build flags. Alexey Kopytov 2016-12-30 11:10:21 +03:00
  • 5c45389d60 Replace custom check for Sun compiler with AX_COMPILER_VENDOR. Alexey Kopytov 2016-12-30 09:58:16 +03:00
  • cf2ce71141 Autodetect the most optimal -march GCC flag for the target architecture. Alexey Kopytov 2016-12-30 08:33:36 +03:00
  • 837b2b6a3e Adjust test_fileio.t to pass on slow machines. Alexey Kopytov 2016-12-23 18:22:34 +08:00
  • f9808250ae Set per-connection thread id. Alexey Kopytov 2016-12-23 17:53:20 +08:00