eaf238bbce
Merge branch '0.4' into 0.5
2015-10-02 10:44:36 +03:00
c3b0aa04e2
Addendum to the fix for #10 : also ignore duplicate key errors, as they
...
are legal for PostgreSQL in the OLTP workload due to its transaction
isolation implementation specifics.
2015-10-02 10:29:37 +03:00
ccc252f43c
Fixed #3 in the 0.4 branch.
2015-10-02 10:26:45 +03:00
a5b53d03d5
Merge branch '0.4' into 0.5
2015-09-30 19:23:19 +03:00
3d63e69a69
More descriptive configure message when MySQL client library is not found.
2015-09-30 19:22:05 +03:00
e3165acb64
Merge branch '0.4' into 0.5
2015-09-23 17:17:17 +03:00
76fc3ef79e
Fixes #10 : oltp: pgsql query execution failed
...
Handle deadlocks correctly in the PostgreSQL driver, i.e. return
SB_DB_ERROR_DEADLOCK to the upper layer to restart the transaction and
increment the deadlocks counter.
2015-09-23 16:59:04 +03:00
ab36a80c53
Merge branch '0.4' into 0.5
2015-09-23 15:56:10 +03:00
26abf0c893
Fix wrong format string in error reporting.
2015-09-23 15:51:48 +03:00
8de145fcd3
Typo fix.
2015-09-10 14:58:27 +03:00
790e73a306
Fix a couple of benign compiler warnings in runner_thread().
2015-09-09 14:20:40 +03:00
b1c56b267d
Fix ‘set but not used’ warning in db_disconnect().
2015-09-09 13:53:58 +03:00
c8c50ac65a
Fixed the annoying “AC_COMPILE_IFELSE before AC_USE_SYSTEM_EXTENSIONS”
...
Autoconf warning.
2015-08-23 23:09:22 +05:00
6166b794a5
Allow command line options from config file.
2015-07-08 16:38:45 +02:00
95eab63787
Fix const correctness.
2015-07-08 16:13:08 +02:00
5033c33627
Overwrite values instead of appending (see also set_option()).
2015-07-08 16:10:35 +02:00
0257f50738
Merge pull request #6 from olafdietsche/issue-endless-loop
...
Issue endless loop
2015-07-08 08:52:17 +03:00
bf83ea12bd
Skip trailing whitespace when reading config file.
2015-07-08 04:52:01 +02:00
d5cd06e3cb
Fix endless loop when reading a config file.
2015-07-07 15:16:08 +02:00
a587438c3b
Cosmetic changes to README.me.
2015-07-07 10:15:26 +03:00
bab1bb1acf
More formatting fixes.
2015-06-11 15:10:09 +03:00
07f149f72d
More formatting fixes.
2015-06-11 15:09:19 +03:00
076522cdd7
Misc. formatting fixes.
2015-06-11 15:01:38 +03:00
8151650c24
Update README.md with installation and usage instructions extracted from
...
the old manual.
2015-06-11 14:54:05 +03:00
439ad14703
Allow unlimited number of requests (--max-requests=0) in CPU and threads benchmarks.
2015-05-28 17:55:08 +03:00
e7b9ff66d2
Do not dereference a NULL pointer with --mysql-dry-run.
2015-05-12 16:51:48 +03:00
794c6aaa5a
Fixes #4 : max elapsed time overflows
...
Use CLOCK_MONOTONIC instead of CLOCK_REALTIME in clock_gettime().
2015-05-12 16:11:12 +03:00
2b30428830
Fixed #3 : Runtime segmentation fault with the latest version as of 2015/04/22
...
2 issues:
1. --mysql-dry-run was enabled by default
2. mysql_drv_query() attempted to use uninitialized memory in case of
--mysql-dry-run.
2015-04-22 21:42:11 +03:00
c3e805d66a
Only lock timers_mutex if there’s a background checkpoints thread
...
aggregating per-thread timers.
2015-04-18 15:42:40 -07:00
7a0e384cf0
Manual merge from 0.4.
2015-04-18 12:07:24 -07:00
b0ce007822
Added the --mysql-dry-run option.
2015-04-17 17:00:59 -07:00
0678b7253b
Merge pull request #2 from renecannao/0.5
...
Added mysql-compression option
2015-03-25 16:07:55 +03:00
35bd074035
Added mysql-compression option
2015-03-25 13:00:38 +00:00
5d2cf8a2ea
Moved .bzrignore to .gitignore
2015-03-10 10:21:11 +03:00
48b982d51f
Merge branch '0.4' into 0.5
2015-03-09 21:58:22 +03:00
07ba467bfc
Created .gitignore.
2015-03-09 21:56:59 +03:00
ad9c40f592
Fixed LP #1417545 : Minor fixes for compilation informationals/complaints on VMS
...
Fixed unsigned int comparisons with 0 in a couple of places.
2015-03-09 21:53:40 +03:00
9c918a9d8b
Replaced README with README.md
2015-03-08 17:14:22 +03:00
1ab7abdd57
Bug #1415750 : --with-pgsql-libs is ignored
...
Merged a contributed patch.
2015-03-01 21:19:57 +03:00
a24fa26f0f
Bug #1415750 : --with-pgsql-libs is ignored
...
Merged a contributed patch.
2015-03-01 21:18:51 +03:00
1b80852af4
Bug #1415746 : mysql include path was set in PGSQL_CFLAGS
...
Merged a contributed patch.
2015-03-01 21:16:50 +03:00
7de7f37551
Bug #1415746 : mysql include path was set in PGSQL_CFLAGS
...
Merged a contributed patch.
2015-03-01 21:14:41 +03:00
f2ae0768bf
Bug #1403699 : sysbench crash at script_lua.c:860
...
Added protection for syntax errors in Lua scripts when code in the
top-level chunk (i.e. not in one of the functions) tries to access the
database driver.
2014-12-22 14:29:57 +03:00
ad5577e8ab
Read and modify sb_globals.concurrency under a mutex, as dirty access
...
has proven to cause inaccurate and negative results.
2014-12-05 18:40:48 +03:00
1a586a0dca
Fixed the Drizzle and libAttachSQL drivers broken by the autoreconnect patch.
2014-10-24 17:16:53 +04:00
7ea2db661e
Added support for additional table options to common.lua. Extra options
...
can be specified with --mysql-table-options.
2014-10-21 16:57:56 +04:00
289b1c5f65
Introduced a new option called --mysql-ignore-errors, which accepts a
...
comma separated list of numeric errors that should be ignored. If
sysbench encounters an ignored error indicating that the server is no
longer available (i.e. one of CR_SERVER_LOST, CR_SERVER_GONE_ERROR,
CR_TCP_CONNECTION, or CR_SERVER_GONE_ERROR), it automatically
reconnects. Otherwise it just restarts the current transaction.
A user can also specify --mysql-ignore-errors=all, in which case all
errors will be ignored.
There are also 2 new counters: ‘reconnects’ and ‘errors’, which are
reported in both interval and final statistics.
2014-10-18 22:22:28 +04:00
17c1eb04de
Changed the priority of the “Event generation thread is too slow”
...
message to LOG_DEBUG, so that it is not printed on normal sysbench runs,
but can be enabled with --verbosity=5.
2014-10-18 11:20:48 +04:00
7215074a9a
Add libAttachSQL driver to Sysbench
2014-10-16 10:37:38 +01:00
d577a2e517
Insure LOG_EVENT_START being as close as possible to the working loop
2014-09-15 13:15:46 +02:00