jamppa@bk-internal.mysql.com
16de7d21cc
Merge bk-internal.mysql.com:/data0/bk/mysql-5.1
...
into bk-internal.mysql.com:/data0/bk/mysql-5.1-marvel
2007-03-29 16:11:29 +02:00
brian@zim.(none)
68cdfea52a
Merge zim.(none):/home/bk/mysql-5.1-arch
...
into zim.(none):/home/brian/mysql/slap-5.1
2007-03-26 02:29:09 -07:00
brian@zim.(none)
9a2a7071be
Added pre and post option to test run (allows me to adjust an engine once all of the data has been loaded).
...
Kinda obvious that this was going to come up ;)
2007-03-26 02:24:49 -07:00
Antony@floppy.
adfdcb191c
Fixes for 5.1-arch repository to compile on Windows.
2007-03-22 00:43:14 -07:00
jani@ua141d10.elisa.omakaista.fi
71c7035035
Added find_type_or_exit and find_bit_type_or_exit as wrappers
...
around the original functions. These will ensure that error
message is always in unique form, reduce code and print the
right alternatives automatically in an error case.
2007-03-19 11:19:51 +02:00
brian@piggy.tangent.org
132608419e
Restoring attr (aka poking around Windows did not work).
2007-03-18 10:06:28 -07:00
brian@zim.(none)
34b2658788
Bug in windows where attr was not working. Removed.
2007-03-16 23:50:48 -07:00
brian@zim.(none)
786f9de976
Cleanup of prototype for windows.
2007-03-16 19:05:11 -07:00
brian@zim.(none)
e246cb3d80
The pthread() support was not working. Once I fixed use-thread in a previous push I realized that the pthread/windows code was not working. I've replaced the fork/thread design with a pure pthread design using condition timers and broadcast.
...
Ramification, UNIX now uses thread, support for slaves had to be dropped and there is no need for the --use-threads flag.
Added --concurrency=0 option so that it will start at 1 and keep going up until something bad happens :)
2007-03-16 15:20:22 -07:00
brian@zim.(none)
45d7dff67d
Correctly report load type.
...
Updated engine to also handle create options
Secondary indexes can now be generated (aka the test PeterZ thoughts!)
2007-03-15 23:39:07 -07:00
brian@zim.(none)
deef4ef274
Added comment, and fixed test.
2007-03-13 10:27:59 -07:00
brian@zim.(none)
70fa527d9e
Cleaning up 4 pushbuild warnings caught by Windows.
2007-03-13 00:56:30 -07:00
brian@zim.(none)
8623103dfc
Cleaned up memory allocation so that in all cases of malloc failure the application ends execution.
...
Default values for auto-generate have been made available for adjusting. Key test for rights now works with either type of keys.
2007-03-12 10:25:11 -07:00
brian@zim.(none)
82ee220cfa
Fixed buffer overflow cases (should not be possible to do...)
...
Fixed for autoincrement support/GUID
2007-03-06 17:14:59 -08:00
brian@zim.(none)
08be7c3314
Fixed bug#26027
...
Just a bad copy/paste of help info
2007-02-04 15:31:35 -08:00
brian@zim.(none)
9fc89facca
Extended mysqlslap.c for auto tests (see the comment on the mysqlslap.c file). I also fixed a bug where limit was not being reached.
2007-01-29 13:17:30 -08:00
kent@mysql.com/kent-amd64.(none)
1e3237fefa
Many files:
...
Changed header to GPL version 2 only
2006-12-27 02:23:51 +01:00
monty@mysql.com/narttu.mysql.fi
3a35c30027
Fixed compiler warnings (Mostly VC++):
...
- Removed not used variables
- Changed some ulong parameters/variables to ulonglong (possible serious bug)
- Added casts to get rid of safe assignment from longlong to long (and similar)
- Added casts to function parameters
- Fixed signed/unsigned compares
- Added some constructores to structures
- Removed some not portable constructs
Better fix for bug Bug #21428 "skipped 9 bytes from file: socket (3)" on "mysqladmin shutdown"
(Added new parameter to net_clear() to define when we want the communication buffer to be emptied)
2006-11-30 03:40:42 +02:00
monty@mysql.com/nosik.monty.fi
0e149b7170
Removed compiler warnings
...
Ensure that my_size_t is always unsigned (to get predictiable results from system to system)
Removed some %lld, as these are not portable
2006-11-27 18:16:08 +02:00
monty@mysql.com/nosik.monty.fi
fa81a82e7f
Fixed a LOT of compiler warnings
...
Added missing DBUG_RETURN statements (in mysqldump.c)
Added missing enums
Fixed a lot of wrong DBUG_PRINT() statements, some of which could cause crashes
Removed usage of %lld and %p in printf strings as these are not portable or produces different results on different systems.
2006-11-27 01:47:38 +02:00
msvensson@neptunus.(none)
fdfad1d063
Bug#21297 rpl_insert fails randomly
...
- Add loop in mysqlslap that tries to connect up to 10 times if connect
in thread fails.
2006-07-27 10:54:04 +02:00
msvensson@neptunus.(none)
df8637fccb
Bug#20365 mysqlslap fails with error message about result sets
...
- Using CLIENT_MULTI_RESULTS is needed to execute stored procedures
2006-07-20 14:51:04 +02:00
paul@polar.kitebird.com
7c4ddc8bd4
mysqlslap.c:
...
Avoid embedding a bunch of whitespace in --help message.
2006-04-28 10:44:08 -05:00
msvensson@neptunus.(none)
ee76a12c09
Protect from empty --query argument
2006-04-11 23:24:06 +02:00
msvensson@neptunus.(none)
52c9feff13
Bug#18012 mysqlslap fails if querystring starts with delimiter
...
- Terminate loop not only when the limit is met, but alse when there is no more stmts
2006-04-11 22:23:16 +02:00
msvensson@neptunus.(none)
0bdb9ff547
Fix syntax error
2006-04-11 22:10:11 +02:00
msvensson@neptunus.(none)
5848a4276d
Bug#17478 mysqlslap not issuing any queries
...
- Add more printouts it depending on verbose level
- New common function 'run_query' to be used when executing a query
2006-04-11 22:04:08 +02:00
msvensson@neptunus.(none)
c8c8041804
Don't use the MYSQL* returned from mysql_real_connect to overwrite the already initalised mysql variable
2006-04-11 20:49:31 +02:00
brian@zim.(none)
097804fbdb
Behavior change to preserve schema unless you specify autogenerated SQL or create values.
2006-03-28 17:59:11 -08:00
bpontz@shasta.mysql.com
2d14a5e560
netware doesnt use fork
2006-03-27 12:25:01 -05:00
brian@zim.(none)
07bd25c9f5
This is a patch to test the default schema location.
2006-03-10 08:54:12 -08:00
serg@serg.mylan
c7513d18db
crazy - for the last week mysqlslap.test was generating 400 sigsegvs
...
per run, failing ALL mysql_real_connect() calls - nobody noticed,
the test always appeared to "pass".
2006-03-02 10:48:54 +01:00
brian@zim.(none)
7234f79c4a
This patch handles compiles with threads, namely if you don't have pthreads it will remove support for threads in the applications (and it is fixed in such a way that tests won't break).
2006-02-25 18:03:11 -08:00
brian@zim.tangent.org
faa1b42989
Fixed some threading issues that Guilhem found (and its what I get for copy and pasting from elsewhere without thinking about it). Added depracted messages to BACKUP, RESTORE, and LOAD TABLE FROM MASTER (which doesn't work well).
2006-02-19 09:41:59 -08:00
serg@serg.mylan
48b8e842ca
Automerge
2006-02-15 00:01:46 +01:00
serg@serg.mylan
63cfd11859
dbug changes:
...
1. dbug state is now local to a thread
2. new macros: DBUG_EXPLAIN, DBUG_EXPLAIN_INITIAL,
DBUG_SET, DBUG_SET_INITIAL, DBUG_EVALUATE, DBUG_EVALUATE_IF
3. macros are do{}while(0) wrapped
4. incremental modifications to the dbug state (e.g. "+d,info:-t")
5. dbug code cleanup, style fixes
6. _db_on_ and DEBUGGER_ON/OFF removed
7. rest of MySQL code fixed because of 3 (missing ;) and 6
8. dbug manual updated
9. server variable @@debug (global and local) to control dbug from SQL!
a. -#T to print timestamps in the log
2006-02-14 22:36:11 +01:00
brian@zim.tangent.org
abf4f17761
Fixed comments bug#17239
2006-02-13 19:09:10 -08:00
brian@zim.tangent.org
570bffe8c7
Rename of my_strdup_with_lenght to match the more common "strndup" method. Soo its now my_strndup().
...
my_stat() gettinng the correct parameter list may be next :)
2006-01-25 19:54:42 -08:00
SergeyV@selena.
b4055d2486
Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into selena.:H:/MYSQL/src/#00000-mysql-5.1
2006-01-20 18:40:02 +03:00
SergeyV@selena.
32e68098a9
Post review updates for win32 port of mysqlslap
2006-01-20 18:20:03 +03:00
paul@snake-hub.snake.net
9d3f0364a4
mysqlslap.c:
...
Fix incorrect option description.
2006-01-19 12:33:51 -06:00
paul@snake-hub.snake.net
8cefc4ce5b
mysqlslap.c:
...
Put options in standard order: --help first, then lexically.
Rename --number-of-query to --number-of-queries.
2006-01-18 20:27:07 -06:00
SergeyV@selena.
94b26428c3
Changes to make mysqlslap buildable and runable on win32.
2006-01-16 19:35:01 +03:00
brian@zim.tangent.org
0f50bfa486
Fixed bug #16167
...
Added --use-threads option for porting to Windows.
2006-01-12 12:27:25 -08:00
brian@zim.tangent.org
19dbafc28c
Adding a --use-threads options which I believe will allow it to be ported to windows.
2006-01-11 21:30:52 -08:00
knielsen@mysql.com
06a49eca23
Fix memory problem: Both the allocation and pointer arithmetics on the
...
head_sptr array was wrong.
2006-01-03 11:09:18 +01:00
knielsen@mysql.com
0e41800311
Fix compile failure, reapply changeset "05/12/29 15:37:36 sergefp@mysql.com"
...
apparently lost in merge.
2006-01-02 13:19:13 +01:00
brian@zim.(none)
4c9d2ff360
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into zim.(none):/home/brian/mysql/slap-5.1
2006-01-01 20:27:24 -08:00
brian@zim.(none)
522a62446c
Cleaned up memory allocation to be a little more staight forward (though I suspect someone will hate my sizeof() increment).
...
Nothing really to see here. Updated comments in code.
More comments are probably needed, but isn't that always the case?
2006-01-01 20:08:45 -08:00
brian@zim.(none)
d4a3fe6e68
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
...
into zim.(none):/home/brian/mysql/slap-5.1
2006-01-01 16:47:03 -08:00