1328 Commits

Author SHA1 Message Date
9794383fca Add option --oltp-point-select-mysql-handler to use HANDLER for primary key lookups
instead of a SELECT statement.
2009-09-30 12:37:03 -07:00
7dce4a7e54 add --send-rng option 2009-09-30 11:10:46 -07:00
e3dd940334 add --rand-seed to set RNG seed 2009-09-30 11:03:53 -07:00
def3c5981c make --with-lua=no disable lua support 2009-09-30 11:03:11 -07:00
652eb760c3 Merge lp:~elambert/sysbench/trunk_drizzle_merge with some modifications. 2009-09-21 23:25:59 +04:00
8e6663f4c2 Manual merge from the 0.4 tree. 2009-07-28 15:57:18 +04:00
df31f6767f * Removed autogenerated ltmain.sh from the repository.
* Upgraded autogen.sh to invoke libtoolize to simplify
  building from the Bazaar repository.
* Updated docs.
2009-07-28 15:41:45 +04:00
14a905ad31 -removed files generated by autogen from bzr 2009-06-10 17:15:35 -07:00
6a37fa6634 -added NEWS and AUTHORS files (needed by autogen) 2009-06-10 16:45:42 -07:00
b9d0556c84 Merged all in drizzle sysbench changes with the exception of those changes
made to the sb_oltp.c and sb_oltp.h files (those changes will be merged at 
a later date).
  -added drizzle support to lua tests
  -removed some dead code
  -updated autotools system
  -Added extensions.m4
  -Removed manual.html - it's generated
  -Turned on warnings. Made sysbench compile with them on
  -Added support for building with libdrizzle
  -Added run.sh as example of how to run drizzle sys-bench
  -drv drizzle works with multi-thread
  -drv_drizzle: misc. fixes
  -drv_drizzle: fix all four buffering forms
  -Checking for error codes using new clean method.
  -Check that new constant exists in autoconf
  -drv_drizzle: Turned unsigned ints back off
  -drv_drizzle: Updated error fetching code
  -drv_drizzle: Removed blocking option - makes no sense. Cleaned up option help text
  -Up to date with latest libdrizzle changes
  -fixed some solaris build issues
  -Split acinclude into multiple files in m4/ dir
  -downgraded autoconf
  -Removed -Wlogical-op, it's only in newer GCC, and it's not important enough to impose GCC version restrictions for
  -Removed need for drizzled install for libdrizzle build
  -Fixed solaris build issues
  -Fixed new libdrizzle result processing
  -Added the all_need_caps explicitly to drv_mysql
  -Added capability for libdrizzle
2009-06-10 16:43:32 -07:00
b5c7ed407c Null-merged the old OLTP test from the 0.4 branch 2009-05-28 20:16:03 +04:00
db2d315f74 Added the old OLTP test back 2009-05-28 20:12:23 +04:00
c704c9beb8 Null-merged the 0.4 branch 2009-05-28 19:50:59 +04:00
b359b0915e Moved EXTRA_LDFLAGS from sysbench_LDADD to sysbench_LDFLAGS where it should belong 2009-05-28 19:45:59 +04:00
b773e3146b Since Bazaar does not allow merging of two unrelated branches,
created the branch for the old 0.4 code base from trunk, then
reconciled with 0.4 manually (the patchwill be null-merged into 
trunk).
2009-05-28 19:25:12 +04:00
1d11503695 Fixed configure.ac to look for lrand48 in AC_CHECK_FUNCS, not AC_CHECK_HEADERS 2009-05-28 19:11:54 +04:00
c123d1deff test commit 2009-05-21 05:52:09 -07:00
2fcffcf014 Look for DocBook XML catalog in multiple locations instead of using a hardcoded path 2009-05-19 18:24:39 +00:00
f6e66045aa Added alarm configure check 2009-05-19 18:22:58 +00:00
512d84fd27 Made forced shutdown optional via the --forced-shutdown switch and off by default. 2009-03-19 16:03:09 +00:00
57e7ea90a5 Added forced test shutdown to avoid endless execution when DB server freezes. 2009-03-16 07:42:49 +00:00
4c2e5fdcb2 Fixed a bug with preparation of statements w/o bound parameters. 2009-02-26 10:35:44 +00:00
946f88aa91 Added a missing call to db_close() in sb_lua_db_close(). 2009-02-20 16:02:02 +00:00
b1a077bc24 Pop the function return value from the stack to prevent memory leak. 2009-02-02 17:29:48 +00:00
78f5026342 Removed the __gc method for the result set userdata since it's no longer needed after removing per-statement calloc() in db_execute(). 2008-12-29 13:15:57 +00:00
9edaef2391 Added definition of SB_MAX_RND back, was removed in the previous commit by mistake. 2008-12-29 10:23:15 +00:00
545a870654 Merged patches from Tim Cook:
- use lrand48() as random() is not thread-safe on most platforms
- use libumem/mtmalloc for memory allocation if available on the target platform
2008-12-18 11:46:27 +00:00
89f0f64c05 Got rid of unnecessary calloc() in db_driver.c by reusing a per-connection preallocated structure. 2008-12-17 20:00:08 +00:00
38010b6634 Moved $(EXTRA_LDFLAGS) before client libraries in the linker command line so that
additional libraries would take precedence.
2008-12-16 14:28:54 +00:00
63f94c39ca Removed scripts. They have not been maintained for a long time since no one seems to use them. 2008-12-09 13:08:02 +00:00
aed3875237 New --with-extra-ldflags switch in configure. One example where it might be useful:
'./configure --with-extra-ldflags=-all-static' will instruct libtool to try to 
create a static binary if supported by the target platform.
2008-12-09 13:00:06 +00:00
af95413bfa Applied a patch from Philip Guenther:
- assumed that pthread_create() and pthread_join() set errno.  They
   don't: they return the error value instead
2008-12-09 12:38:27 +00:00
64b3f1671a s/ifdef/if 2008-12-08 07:38:41 +00:00
4b25999044 Temporarily disabled a call to mysql_options() to workaround a bug the client library. 2008-12-08 07:38:12 +00:00
e3e2427655 Fixed commit_stmt for OLTP tests which was prepared as "LOCK TABLES" by mistake. 2008-12-02 15:48:24 +00:00
c6faf6837b Added a check to _setvbuf to configure. 2008-12-01 11:13:24 +00:00
df2339f2ac Display query text when mysql_stmt_execute() fails. 2008-11-29 16:13:14 +00:00
bd4b0c8ba8 Honour --max-requests for sequential fileio tests. Rewind to the first file in case all files are processed. 2008-11-18 13:43:32 +00:00
d933c6e28f Set stdout to non-buffered mode. 2008-11-18 13:42:01 +00:00
080ebfe37a Check if connection is valid in sb_lua_db_disconnect(). 2008-11-06 10:55:53 +00:00
d760f42b3d Removed xsl/ files from doc/Makefile.am as xsl/ now has its own Makefile.am 2008-11-05 13:30:50 +00:00
edffa94fef Added support for direct I/O on Solaris. 2008-11-05 13:26:48 +00:00
c966692683 Fixed Windows build. 2008-10-23 10:11:18 +00:00
bc8716e622 Fixed bug #2174795. Fixed lua_error() calls without putting a message on stack in script_lua.c 2008-10-18 12:56:40 +00:00
9fb57169bf Fixed a race condition around DB library initialization in script_lua.c
Minor cleanups.
2008-10-18 11:42:53 +00:00
68783a44db Raised the default thread stack size to 64K. 32K proved to be not enough on some platforms. 2008-10-02 17:04:09 +00:00
8184df67af Replaced the fix for race condition in script_lua.c with the pthread_once() patch by Vladislav Vaintroub. 2008-09-30 13:55:41 +00:00
03bc740ad5 Fixed a race condition around DB library initialization in script_lua.c
Minor cleanups.
2008-09-30 10:01:53 +00:00
2d63c9073d Initial Windows support. Huge thanks to Vladislav Vaintroub for the patch. 2008-09-29 16:22:42 +00:00
04d168dd50 Removed spurious warnings on mysql_store_result().
Minor logging fixes.
2007-06-17 18:27:05 +00:00