Commit Graph

1294 Commits

Author SHA1 Message Date
43cb35e248 In the MySQL driver, print error number and text before the query text, as printing them after complicates troubleshooting for really long queries. 2015-11-03 17:08:35 +03:00
e55a12b88c Fix table creation/removal loop ranges. 2015-11-03 16:41:02 +03:00
aa52781b7c Moved table creation to the prepare method. 2015-11-03 16:37:48 +03:00
f325955b0c Use DROP TABLE IF EXISTS when cleaning up. 2015-11-03 16:25:23 +03:00
057e143b27 Use mysql_config --libs_r instead of mysql_config --libs | sed. 2015-11-03 00:11:51 +03:00
0bf454200d Bulk insert test. 2015-11-02 23:14:29 +03:00
064736860b Properly use the PostgreSQL sequence in insert.lua when oltp_auto_inc is on. 2015-10-13 23:08:55 +03:00
5aa550c00f Fixed a compiler warning by removing a stray struct initializer. 2015-10-13 22:51:06 +03:00
858ee03fd3 Fixed Windows builds by removing the __attribute__((unused)) construct. 2015-10-13 11:47:49 +03:00
f7629417d0 Fixed unconditional directio() call on Solaris: do it only when --file-extra-flags=direct. 2015-10-12 17:36:37 +03:00
148b0988a8 Use fcntl(..., F_FULLFSYNC) instead of fdatasync() on OSX to avoid a
compiler warning.
2015-10-11 15:53:14 +03:00
0ed56dd112 Fixed *_get_request() functions in sb_memory.c and sb_threads.c to match
the new interface defined in sysbench.h
2015-10-11 15:16:17 +03:00
6007568e65 Fixed a couple of compiler warnings in crc32.c 2015-10-11 15:13:18 +03:00
2fd08b7872 Fixed --validate for multi-treaded fileio test.
Patch contributed by Dwight Engen <dwight.engen@oracle.com>
2015-10-11 15:07:57 +03:00
6d813225e6 Merge pull request #7 from olafdietsche/feature-config-file
Feature config file
2015-10-02 10:52:26 +03:00
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