Commit graph

346 commits

Author SHA1 Message Date
sasha@mysql.sashanet.com
5a5e2be98a client/mysqltest.c
fixed typo
2001-04-17 23:42:24 -06:00
sasha@mysql.sashanet.com
858867fa65 lient/mysqltest.c
added support for alphanumeric variables - import MASTER_MYPORT and
    SLAVE_MYPORT from the environment
mysql-test/mysql-test-run.sh
    export MASTER_MYPORT and SLAVE_MYPORT for mysqltest
mysql-test/t/rpl000015.test
    use MASTER_MYPORT
mysql-test/t/rpl000016.test
    use MASTER_MYPORT
2001-04-17 23:06:00 -06:00
monty@donna.mysql.fi
77fb94a212 Fixed bugs in mysqltest 2001-04-18 04:23:14 +03:00
serg@serg.mysql.com
5d86c27a2d mysqltest bugfix
typo/bad merge fixed
chmod a-x for man/*.1 files
2001-04-15 20:14:40 +02:00
sasha@mysql.sashanet.com
fdf19ea879 moved bdb/innobase to compile-pentium-debug-max
fixed bug in variable assignment in mysqltest
fixed coredump on conversion from empty blob/text to date
added test case for empty blob conversion to date
2001-04-05 19:04:34 -06:00
sasha@mysql.sashanet.com
1c216c4141 sometimes the server lags behind the client on startup - to fix, if the initial connect fails, sleep and try again
before giving up
2001-04-03 08:28:28 -06:00
sasha@mysql.sashanet.com
ee0f6217ea I was wrong about concurrent insert issue in rpl000016 - it still failed
once after the lock. Now changed test case and added eval support to
mysqltest to make it easier to debug
2001-03-27 10:23:04 -07:00
monty@donna.mysql.fi
5487d7a8c0 Fixed bug in send in mysqltest
Removed usage of @r/result as this made life hard when testing different
table handlers.
Allow concurrent inserts if no update/binary log.
Don't remove key_cache at flush tables.
Fixed bug in SELECT DISTINCT SUM()...
2001-03-25 01:02:26 +02:00
sasha@mysql.sashanet.com
b54cbeac05 fixes to get flush test to work only to discover another bug in flush
tables - read comments below
2001-03-23 19:59:30 -07:00
monty@donna.mysql.fi
d0722d73b0 Added fix for using variables with distinct 2001-03-15 03:55:48 +02:00
monty@donna.mysql.fi
bda3e09935 Merged some functions and removed some unused client functions.
Remember UNION for ALTER TABLE
Added test for if we are supporting transactions.
Don't allow REPLACE to replace a row when we have generated an auto_increment key
Fixed bug when using BLOB keys
Fixed bug in SET @variable=user.
2001-03-06 15:24:08 +02:00
jcole@tetra.spaceapes.com
78daefc5b3 Cleanups... 2001-02-20 20:39:48 -06:00
monty@donna.mysql.com
450d98e341 Changed --replace to --replace_result in mysqltest
Changed errmsg -> my_errmsg (portability issue)
Fixed that mysqlbinlog writes SET TIMESTAMP before all queries
Fixed comments in default my.cnf files
2001-02-15 03:43:14 +02:00
monty@donna.mysql.com
fbedc9719e Added --replace to mysqltest
Fixed that GROUP BY can take DESC
2001-02-13 12:39:50 +02:00
monty@donna.mysql.com
54502646df Removed that --port defaults to TCP/IP 2001-01-29 14:21:13 +02:00
jcole@tetra.spaceapes.com
519e7256a6 manual merge 2001-01-27 03:27:40 -06:00
jcole@tetra.spaceapes.com
89b5dab2f4 mysql* -P 3307 uses TCP/IP now. 2001-01-24 22:39:45 -06:00
sasha@mysql.sashanet.com
877845dd5e fixed improper read of log name from master.info which broke slave server restart
fixed sync bugs in three test cases
added offset argument to sync_with_master to mysqltest to be able to fix sync bugs
added a test case for slave startup with existing master.info
expanded mysql-test-run.sh to be able to run pre-start shell script initializations
2001-01-24 12:47:09 -07:00
sasha@mysql.sashanet.com
b73a4af063 fixes for tests 2001-01-23 08:20:51 -07:00
sasha@mysql.sashanet.com
634ba86ad7 client/mysqltest.c
added send/reap/dirty_close
include/mysql.h
    mysql_send_query()/mysql_reap_query()
libmysql/libmysql.c
    mysql_send_query()/mysql_reap_query()
mysys/my_vsnprintf.c
    fixed critical bug that codedumped when connection aborted
sql/sql_parse.cc
    0
mysql-test/r/dirty-close.result
    New BitKeeper file ``mysql-test/r/dirty-close.result''
mysql-test/t/dirty-close.test
    New BitKeeper file ``mysql-test/t/dirty-close.test''
2001-01-19 22:40:16 -07:00
sasha@mysql.sashanet.com
7c73125712 client/mysqltest.c
merged continued
mysql-test/t/rpl000004.test
    added a test for am empty table
mysql-test/r/rpl000004.result
    New BitKeeper file ``mysql-test/r/rpl000004.result''
2001-01-18 10:43:09 -07:00
sasha@mysql.sashanet.com
178f8e91b0 semi-manual merge, some more needs to be fixed in mysqltest.c in fully
manual mode
2001-01-17 20:42:27 -07:00
sasha@mysql.sashanet.com
d0f4235a2e rpl000016.test sync
rpl000001.result	BitKeeper file /home/sasha/src/bk/mysql/mysql-test/r/rpl000001.result
ignore  	Added BitKeeper/tmp/bkr3sAHD to the ignore list
slave.h 	MASTER_POS_WAIT
lex.h   	MASTER_POS_WAIT
slave.cc	MASTER_POS_WAIT, do automagic restart on debugging abort, skip rotate events in 
slave.cc	debug abort count
sql_repl.cc	announce the log name at the start of the log with a fake rotate event
item_create.h	MASTER_POS_WAIT
item_func.cc	MASTER_POS_WAIT
item_func.h	MASTER_POS_WAIT
sql_class.h	enter_cond(), exit_cond() helper inliners
item_create.cc	added MASTER_POS_WAIT
mysql-test-run.sh	speed improvement fixes
rpl000007.test	sync
rpl000003.test	sleep -> sync
rpl000004.test	sleep -> sync, fixed clean up bug
rpl000014.test	sync
rpl000009.test	sync
rpl000013.test	sync
rpl000001.test	sleep -> sync
rpl000008.test	sync
rpl000006.test	sync on cleanup
rpl000011.test	sync
rpl000012.test	sync
rpl000005.test	sleep -> sync
rpl000010.test	sync
rpl000015.test	sync
rpl000002.test	sleep -> sync
rpl000014.result	we now know the master log name as soon as we connect
mysql.cc	added optional agrument to --wait
mysqltest.c	added save_master_pos and sync_with_master commands
2001-01-17 05:47:33 -07:00
monty@donna.mysql.com
c1b5a5b00f Removed not used variable 'last_ref'
Fixed problem with negative DECIMAL() keys
Fixed some bugs with NULL keys in BDB
More mysql-test tests
2001-01-16 06:02:05 +02:00
monty@donna.mysql.com
12d0f179cd Fixes for mysqltest 2001-01-15 22:56:44 +02:00
monty@donna.mysql.com
6d0e529042 Fixed bug when having many binary log files
Fixed bug when deleting keys with possible NULL values
many changes to mysqltest
2001-01-08 00:04:30 +02:00
monty@donna.mysql.com
7541a877bc Fixes to get mysql-test-run more portable 2001-01-04 02:56:38 +02:00
monty@donna.mysql.com
0135c0a350 Merge work:/my/mysql into donna.mysql.com:/home/my/bk/mysql 2000-12-29 16:09:30 +02:00
monty@donna.mysql.com
07b1f0dccd Fixed --no-defaults in mysqltest 2000-12-29 16:06:10 +02:00
mwagner@evoq.home.mwagner.org
a70656791d mysqltest.c Clean-ups. 2000-12-28 23:05:08 -06:00
mwagner@evoq.home.mwagner.org
7999933528 mysqltest.c Added --no-defaults to usage().
mysql-test-run.sh	Couple more clean-ups.
2000-12-28 22:58:16 -06:00
monty@donna.mysql.com
60677ffd2c Cleanup of tests
Fixed bug with ALTER TABLE on HEAP tables
2000-12-28 19:25:41 +02:00
monty@donna.mysql.com
c0f40d14cc Added support for hex strings to mysqlimport
A lot of new tests to mysqltest
Fixed bug with BDB tables and autocommit
2000-12-28 03:56:38 +02:00
monty@donna.mysql.com
361067e915 Extended mysqltest with --commands and 'require'
Fixed test results.
Added mysqld variable 'have_isam'
2000-12-27 03:31:06 +02:00
serg@serg.mysql.com
06b0f81586 mysql-test-run.sh remove *.reject before testing
mrg000001.test	clean merge tables for other tests to work
mysqltest.c	always compare vs. @result if any
mrg000002.result	corrected
2000-12-22 20:10:35 +01:00
monty@donna.mysql.com
3ea85078dc Fixed <=>
Added mysqltest for <=>
Removed use of TAB in output from mysql-test-run
2000-12-15 16:12:31 +02:00
sasha@mysql.sashanet.com
d9d49dfa44 client/mysqltest.c
fixed bug that created empty result files in no-record mode
mysql-test/t/rpl000007.test
    testing non-replication of load data infile when the table is excluded from replication
mysql-test/t/rpl000016.test
    test purge master logs
sql/slave.cc
    fix memory leaks found by  purge master logs test
sql/sql_repl.cc
    fixed race condition and delete before close bug in reset_slave()

Overall comments - coverage testing is a very good thing!
2000-12-14 20:17:18 -07:00
sasha@mysql.sashanet.com
b63444de1b client/mysqltest.c
added system command
myisammrg/myrg_open.c
    fixed coredump when opening an empty union table
sql/sql_repl.cc
    fixed warnings, remove confusing comment, fixed coredump in
    change master to when master.info was corrupted

added new replication test case
2000-12-14 17:43:13 -07:00
sasha@mysql.sashanet.com
d058adf818 --result-file in mysqltest works nicely now
added a new test case that relies on --result-file
2000-12-12 15:01:35 -07:00
sasha@mysql.sashanet.com
569ac55c61 client/mysqltest.c
add --result-file option
mysql-test/mysql-test-run
    do a really good job to kill mysqld if it is stuck
2000-12-12 12:12:41 -07:00
sasha@mysql.sashanet.com
07b36014fc added loops and other cool stuff to mysqltest
fixed slave to preserve temp tables on slave stop; slave start
added abort-slave-event-count option to mysqld to test the above
added a test case for temp tables with a contantly aborting slave
removed warning in sql_parse.cc
fixed thimble.cc to compile
2000-12-02 10:11:50 -07:00
sasha@mysql.sashanet.com
dd24015eac Fixed temp tables to work with replication. It will not work if you stop the slave
while slave thread has temp tables - not hard to fix though, but it is time to go to bed

added a new test case for temp table replication and Slave_open_temp_tables
status variable.

Misc fixes
2000-11-25 23:29:01 -07:00
sasha@mysql.sashanet.com
74fbeabbf8 client/mysqltest.c
generate a bigger reject file ( full in most cases) if the master result file is 0 length
sql/sql_show.cc
    fixed 3 bugs in SHOW CREATE TABLE

New test case shw000001 for SHOW CREATE TABLE bugs
2000-11-21 16:41:29 -07:00
sasha@mysql.sashanet.com
14854a669a fixed warning in sql_class.cc
added gdb support, mysqld options per test, and other cool stuff to mysql-test-run
added --replicate-wild-do/ignore-table
more test cases
2000-11-20 23:38:08 -07:00
sasha@mysql.sashanet.com
7323cf3010 Docs/manual.texi
updated docs for SET SQL_LOG_BIN
client/mysqltest.c
    added support for expected error
2000-10-18 11:57:02 -06:00
mwagner@evoq.home.mwagner.org
06641fd079 run.test mysql-test -> mysqltest
run-all-tests	mysql-test -> mysqltest
README  	mysql-test -> mysqltest
Makefile.am	Retargetted mysql-test to mysqltest.
.del-mysql-test.c	Delete: client/mysql-test.c
mysql-test-run	Added program definitions.
mysqltest.c	BitKeeper file /home/mwagner/work/bk/mysql/client/mysqltest.c
2000-10-10 03:42:07 -05:00