Commit graph

25075 commits

Author SHA1 Message Date
tim@cane.mysql.fi
7e3fd8ce79 Merge work.mysql.com:/home/bk/mysql
into cane.mysql.fi:/usr/home/tim/my/work
2000-12-21 12:00:09 +02:00
tim@cane.mysql.fi
6ea6978847 Test replace on all table types.
Test delete from BDB table using hidden primary key.
2000-12-21 11:58:02 +02:00
sasha@mysql.sashanet.com
45d537d580 Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-12-20 07:17:10 -07:00
sasha@mysql.sashanet.com
a3e3b04f2a fixed up rpl000014
undid bug in ENCRYPT() - will push this now
added a test case for ENCRYPT()
2000-12-20 07:15:49 -07:00
serg@serg.mysql.com
9eea24708c mysql-test-run.sh expr substr -> echo | cut 2000-12-20 13:39:27 +01:00
monty@donna.mysql.com
2803bcd8be Fixed missing long option
Portability fix for Linux
2000-12-16 02:28:39 +02:00
monty@donna.mysql.com
18f7b7b678 Configure updates
Fixed my_print_defaults --no-defaults
2000-12-16 01:17:13 +02: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
monty@tik.mysql.com
4a99b428ed Merge narttu:/my/mysql into tik.mysql.com:/home/my/mysql 2000-12-15 11:09:15 +02:00
monty@tik.mysql.com
b186b4f27a Fixed that LPAD() and RPAD() cuts arguments
New test for string functions
2000-12-15 10:58:17 +02:00
sasha@mysql.sashanet.com
0ed8894335 mysql-test/r/rpl000016.result
forgot to check this in
2000-12-14 20:45:16 -07: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
b3211ac281 I fixed the bug too and had to merge conflicts 2000-12-14 17:48:54 -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
serg@serg.mysql.com
9068a78cf0 myrg_open.c empty MRG bug fixed again (fix from 1.8 was removed in 1.9) 2000-12-15 00:09:53 +01:00
sasha@mysql.sashanet.com
822ecf4309 mysql-test/mysql-test-run.sh
fixes for Bourne shell
    removed colors
    optimized echo/expr for bash
2000-12-14 10:05:04 -07:00
sasha@mysql.sashanet.com
7c8773d9a3 fixes for parallel make, re-added the lost README files in mysql-test 2000-12-13 18:23:55 -07:00
sasha@mysql.sashanet.com
57c65749dc fixed typo 2000-12-13 17:17:19 -07:00
sasha@mysql.sashanet.com
8502addd5f mysql-test/Makefile.am
fixed typo
scripts/make_binary_distribution.sh
    added .MRG and .frm files
2000-12-13 12:42:59 -07:00
sasha@mysql.sashanet.com
a143a9bb78 install_test_db.sh fixes for distribution
mysql-test-run.sh	fixes for distribution
Makefile.am	Fixes for distribution
2000-12-13 10:32:54 -07:00
sasha@mysql.sashanet.com
8ebc971504 Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-12-13 09:59:36 -07:00
sasha@mysql.sashanet.com
6b004aa730 fixed 2000-12-13 09:58:26 -07:00
monty@work.mysql.com
8dfd21ad79 Makefile.am Removed README 2000-12-13 13:24:46 +01: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
ca5e1f6d95 test case for a coredump on merge tables. Sergei or Monty, can you fix this? 2000-12-12 08:24:50 -07:00
serg@serg.mysql.com
36c7d4eb02 Merge 2000-12-12 13:30:07 +01:00
serg@serg.mysql.com
ef379c0dae ft0000001.test more tests added
ft0000002.test  several ft-indexes test
filesort.cc	DBUG_PRINT's added
2000-12-12 13:17:29 +01:00
monty@donna.mysql.com
10693572ed Fixed delete in tables with hidden primary key
Remove not used BDB logs on shutdown
Don't give warnings for repair on slaves
Fixed transaction log files
2000-12-12 04:34:56 +02:00
serg@serg.mysql.com
f1e8696a45 sel000032.test backpropagated from mysql-4.0
sel000031.test	backpropagated from mysql-4.0
sel000014.result	backpropagated from mysql-4.0
sel000006.test	s|r/3.23/|r/|
sel000007.test	s|r/3.23/|r/|
sel000008.test	s|r/3.23/|r/|
sel000009.test	s|r/3.23/|r/|
sel000010.test	s|r/3.23/|r/|
sel000011.test	s|r/3.23/|r/|
sel000012.test	s|r/3.23/|r/|
sel000013.test	s|r/3.23/|r/|
sel000014.test	s|r/3.23/|r/|
sel000015.test	s|r/3.23/|r/|
sel000016.test	s|r/3.23/|r/|
sel000017.test	s|r/3.23/|r/|
sel000018.test	s|r/3.23/|r/|
sel000019.test	s|r/3.23/|r/|
sel000020.test	s|r/3.23/|r/|
sel000021.test	s|r/3.23/|r/|
sel000022.test	s|r/3.23/|r/|
sel000023.test	s|r/3.23/|r/|
sel000024.test	s|r/3.23/|r/|
sel000025.test	s|r/3.23/|r/|
sel000026.test	s|r/3.23/|r/|
sel000027.test	s|r/3.23/|r/|
sel000028.test	s|r/3.23/|r/|
sel000029.test	s|r/3.23/|r/|
sel000030.test	s|r/3.23/|r/|
sel000033.test	s|r/3.23/|r/|
sel000005.test	s|r/3.23/|r/|
ft0000001.test	s|r/3.23/|r/|
sel000004.test	s|r/3.23/|r/|
2000-12-11 14:23:00 +01:00
serg@serg.mysql.com
c6d55ae8d0 Tests backpropagated from mysql-4.0 bk tree 2000-12-11 14:09:31 +01:00
sasha@mysql.sashanet.com
af68a712ad Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-12-08 17:44:45 -07:00
sasha@mysql.sashanet.com
c441e80ed6 mysql-test/mysql-test-run
reversed gcov to work the old way - the worst thing that can happen 
    if slave and master execute the same code at the same time is that
    we get a lesser  count on the code branch execution, but in any case,
    it will be at least counted once, which is really all we care.
    
    Besides, the source tracking is most likely not thread safe, but this
    is ok for the same reason.
2000-12-08 17:32:30 -07:00
serg@serg.mysql.com
94500e6d6c Merge 2000-12-09 00:36:22 +01:00
serg@serg.mysql.com
6b6ce60678 mysql-test-run --core-file changed to --exit-info=256
it's yet another mysqld hidden feature
                --exit-info=256 is like --core-file but prints info at exit.
                --exit-info itself implies also one-thread (undocumented)
2000-12-08 23:14:37 +01:00
sasha@mysql.sashanet.com
6b7098cb20 fixed bug in load data infile replication
updated test suite to always test if slave obeys stop/start commands
2000-12-08 07:11:22 -07:00
sasha@mysql.sashanet.com
3e4697c8b2 rpl000001 sporadic failure mystery solved - the table was being opened twice :-) 2000-12-07 11:40:22 -07:00
sasha@mysql.sashanet.com
b169cd69e8 mysql-test/Makefile.am
removed extra files, adjusted for renames
2000-12-07 10:30:37 -07:00
sasha@mysql.sashanet.com
7ccba68095 ok, here comes the push - prepare to resolve conflicts! And lets hope bk can gracefully handle all of my renames 2000-12-07 10:14:28 -07:00
sasha@mysql.sashanet.com
fe67aa114f mrg000001.dummy.result Rename: mysql-test/r/3.23/mrg000001.dummy.result -> mysql-test/r/mrg000001.dummy.result
mrg000001.result	Rename: mysql-test/r/3.23/mrg000001.result -> mysql-test/r/mrg000001.result
mrg000001.test	Rename: mysql-test/t/3.23/mrg000001.test -> mysql-test/t/mrg000001.test
2000-12-07 08:24:18 -07:00
sasha@mysql.sashanet.com
f8d4b377f5 Merge 2000-12-07 08:10:30 -07:00
sasha@mysql.sashanet.com
f54267ec2a stop chewing! 2000-12-07 08:02:11 -07:00
sasha@mysql.sashanet.com
ec1359416b fixed up mysql-test - will not push this yet, as more clean up/testing is to follow 2000-12-07 07:54:59 -07:00
serg@serg.mysql.com
97f6bc1171 myrg_rrnd.c merge + insert OK
myrg_info.c	merge + insert OK
mymrgdef.h	merge + insert OK
mrg000001.test  test for the above
mysql-test-run	compatibility (FreeBSD) changes from mysql-4.0 backpropagated
2000-12-07 00:18:46 +01:00
sasha@mysql.sashanet.com
78b5f8fe8a updated test case for SELECT DISTINCT coredump 2000-12-05 10:15:27 -07:00
sasha@mysql.sashanet.com
edc0cbd346 Added a test case for a coredump bug in SELECT DISTINCT. Have not yet fixed the coredump itself 2000-12-05 06:12:19 -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
a9ef0b4bf1 slave master.info FILE -> IO_CACHE
send_file() is more stack-friendly - changed large static buffer to alloc_root()
fixed my_b_seek() to work with WRITE_CACHE
test case to make sure the slave starts correctly after being stopped
truncated words file so the replication tests will take less time
2000-11-24 19:49:13 -07:00
sasha@mysql.sashanet.com
46400961f7 mysql-test/mysql-test-run
cleanup - remove unneeded daeamon restarts
sql/log_event.cc
    fixed bug - do not confuse confused slaves even further if they try to 
    read less than LOG_EVENT_HEADER_LEN before the end of file
sql/mysqlbinlog.cc
    give error if constructor fails
sql/mysqld.cc
    --disconnect-slave-event-count for replication debugging
sql/slave.cc
    --disconnect-slave-event-count
    cleanup to remove unneeded sleeps when things go wrong - sleep only 
    when we have to
sql/slave.h
    --disconnect-slave-event-count

test cases for ALTER TABLE ORDER BY and replication offset off by 22 
confusion mystery bug (both pass)
2000-11-22 00:23:31 -07:00