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!
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()
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
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
BUILD/compile-pentium-debug:
fox for parallel make
BUILD/compile-pentium-gcov:
fix for parallel make
BUILD/compile-pentium:
fix to enable parallel make when recursing to subdirectories
Build-tools/Do-all-build-steps:
fix for parallel make, remove the stale comment to make Tim happy
Build-tools/Do-rpm:
fix for parallel make
mysql-test-run.sh fixes for distribution
Makefile.am Fixes for distribution
mysql-test/Makefile.am:
Fixes for distribution
mysql-test/mysql-test-run.sh:
fixes for distribution
mysql-test/install_test_db.sh:
fixes for distribution
mysql-test/mysql-test-run:
fixed bug that unconditionally restarted both servers before each test
added support for slave-master-info.opt to specify master info
options and override defaults for an individual test
fixed race conditions in slave start/slave stop
added a new rpl test case
sql/sql_repl.cc:
fixed race conditions in slave start/slave stop
added a new test case that relies on --result-file
client/mysqltest.c:
allow a mix of --result-file and @ result file specifications
mysql-test/mysql-test-run:
-record option
-R options to mysql-test so taht result files will be compared
add --result-file option
mysql-test/mysql-test-run
do a really good job to kill mysqld if it is stuck
client/mysqltest.c:
add --result-file option
mysql-test/mysql-test-run:
do a really good job to kill mysqld if it is stuck
mysql-test/mysql-test-run:
added support for copying tables into datadir - now only MRG and FRM
files are copied - will add others as we come up with samples
ft0000002.test several ft-indexes test
filesort.cc DBUG_PRINT's added
sql/filesort.cc:
more DBUG_PRINT's added
mysql-test/t/ft0000001.test:
more tests added
Remove not used BDB logs on shutdown
Don't give warnings for repair on slaves
Fixed transaction log files
Docs/manual.texi:
Updated 'known bugs'
include/my_sys.h:
Added define for checking number of bytes left in the IO_CACHE
mysql-test/mysql-test-run:
Small bug fixes
mysys/mf_iocache2.c:
Use new define
sql/filesort.cc:
Temporary fix for FULLTEXT index
sql/ha_berkeley.cc:
Fix for delete in tables with hidden primary key
Remove not used BDB logs on shutdown
sql/ha_myisam.cc:
Don't give warnings for repair on slaves
sql/hostname.cc:
Portability fix
sql/log.cc:
Fix transaction log files
sql/log_event.h:
portability fix
sql/slave.cc:
Don't give warnings for repair on slaves
sql/sql_class.h:
Cleanup
sql/sql_parse.cc:
Fixed typo
mysql-test/t/sel000004.test:
backpropagated from mysql-4.0
mysql-test/t/sel000005.test:
backpropagated from mysql-4.0
mysql-test/r/sel000004.result:
backpropagated from mysql-4.0
mysql-test/r/sel000005.result:
backpropagated from mysql-4.0
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.
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.
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)
mysql-test/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)
updated test suite to always test if slave obeys stop/start commands
mysql-test/include/master-slave.inc:
test if the slave actually stops and starts in response to slave start/slave stop
sql/log_event.cc:
call the right constructor - I am 99% sure this is what cause sporadic failures of rpl000001
sql/share/romanian/errmsg.sys:
not changed
BitKeeper/etc/ignore:
Added mysql-test/var/lib/test/test3.frm mysql-test/var/lib/test/test3.MRG to the ignore list
mysql-test/t/mrg000001.test:
fixed paths
sql/log.cc:
fixed mutex problem
BitKeeper/etc/logging_ok:
Auto converge
configure.in:
Auto merged
mysql-test/misc/select.res:
***MISSING WEAVE***
BitKeeper/etc/ignore:
Added BitKeeper/etc/config BitKeeper/tmp/CONTENTS BitKeeper/tmp/patch BitKeeper/tmp/pid to the ignore list
mysql-test/mysql-test-run:
merge
BitKeeper/deleted/.del-README~b8e00a1b57b91f69:
***MISSING WEAVE***
BitKeeper/deleted/.del-README~2bddc2706d0834d0:
***MISSING WEAVE***
mysql-test/r/alt000001.result:
mvdir
mysql-test/r/ins000001.result:
mvdir
mysql-test/r/rpl000001.a.result:
mvdir
mysql-test/r/rpl000001.b.result:
mvdir
mysql-test/r/rpl000002.result:
mvdir
mysql-test/r/rpl000003.result:
mvdir
mysql-test/r/rpl000004.a.result:
mvdir
mysql-test/r/rpl000004.b.result:
mvdir
mysql-test/r/rpl000005.result:
mvdir
mysql-test/r/rpl000006.result:
mvdir
mysql-test/r/rpl000007.result:
mvdir
mysql-test/r/rpl000008.result:
mvdir
mysql-test/r/rpl000009.result:
mvdir
mysql-test/r/rpl000010.result:
mvdir
mysql-test/r/rpl000011.result:
mvdir
mysql-test/r/rpl000012.result:
mvdir
mysql-test/r/rpl000012.status.result:
mvdir
mysql-test/r/rpl000013.result:
mvdir
mysql-test/r/rpl000013.status.result:
mvdir
mysql-test/r/sel000001.result:
mvdir
mysql-test/r/sel000002.result:
mvdir
mysql-test/r/sel000003.result:
mvdir
mysql-test/r/sel000004.result:
mvdir
mysql-test/r/sel000005.result:
mvdir
mysql-test/r/sel000006.result:
mvdir
mysql-test/r/sel000007.result:
mvdir
mysql-test/r/sel000008.result:
mvdir
mysql-test/r/sel000009.result:
mvdir
mysql-test/r/sel000010.result:
mvdir
mysql-test/r/sel000011.result:
mvdir
mysql-test/r/sel000012.result:
mvdir
mysql-test/r/sel000013.result:
mvdir
mysql-test/r/sel000014.result:
mvdir
mysql-test/r/sel000015.result:
mvdir
mysql-test/r/sel000016.result:
mvdir
mysql-test/r/sel000017.result:
mvdir
mysql-test/r/sel000018.result:
mvdir
mysql-test/r/sel000019.result:
mvdir
mysql-test/r/sel000020.result:
mvdir
mysql-test/r/sel000021.result:
mvdir
mysql-test/r/sel000022.result:
mvdir
mysql-test/r/sel000023.result:
mvdir
mysql-test/r/sel000024.result:
mvdir
mysql-test/r/sel000025.result:
mvdir
mysql-test/r/sel000026.result:
mvdir
mysql-test/r/sel000027.result:
mvdir
mysql-test/r/sel000028.result:
mvdir
mysql-test/r/sel000029.result:
mvdir
mysql-test/r/sel000030.result:
mvdir
mysql-test/r/sel000100.result:
mvdir
mysql-test/r/shw000001.result:
mvdir
mysql-test/t/README:
mvdir
mysql-test/t/err000001.test:
mvdir
mysql-test/t/rpl000007-slave.opt:
mvdir
mysql-test/t/rpl000008-slave.opt:
mvdir
mysql-test/t/rpl000009-slave.opt:
mvdir
mysql-test/t/rpl000010-slave.opt:
mvdir
mysql-test/t/rpl000013-slave.opt:
mvdir
BitKeeper/deleted/.del-start-mysqld~9c8f21a7ab97793a:
***MISSING WEAVE***
BitKeeper/deleted/.del-stop-mysqld~89a1194045f05d1c:
***MISSING WEAVE***
BitKeeper/deleted/.del-translate-tests~3869c1fdf0a5ea1a:
***MISSING WEAVE***
BitKeeper/deleted/.del-README~108667adaeabe3f5:
***MISSING WEAVE***
BitKeeper/deleted/.del-README~c5aaceda4c2b1a8:
***MISSING WEAVE***
BitKeeper/deleted/.del-select-key.master~e6b83af25df0ce5:
***MISSING WEAVE***
mysql-test/std_data/words.dat:
Rename: mysql-test/std_data/words -> mysql-test/std_data/words.dat
BitKeeper/deleted/.del-simple-select.master~6f3eb98812926caf:
***MISSING WEAVE***
Makefile.am:
add mysql-test to distribution
configure.in:
added mysql-test
libmysql/Makefile.am:
include hash.h
libmysql/Makefile.shared:
add hash to libmysqlclient
mysql-test/Makefile.am:
mysql-test is now in source dist also
mysql-test/chew_on_this/select.res:
***MISSING WEAVE***
mysql-test/install_test_db:
renamed file, moved to different directory, and fixed up to work on binary dist
mysql-test/mysql-test-run:
clean-up of test suite, make it work on binary dist
mysql-test/t/alt000001.test:
moved directory
mysql-test/t/ins000001.test:
moved directory
mysql-test/t/rpl000001.test:
moved dir
mysql-test/t/rpl000002.test:
moved dir
mysql-test/t/rpl000003.test:
moved dir
mysql-test/t/rpl000004.test:
moved dir
mysql-test/t/rpl000005.test:
moved dir
mysql-test/t/rpl000006.test:
moved dir
mysql-test/t/rpl000007.test:
moved dir
mysql-test/t/rpl000008.test:
moved dir
mysql-test/t/rpl000009.test:
moved dir
mysql-test/t/rpl000010.test:
moved dir
mysql-test/t/rpl000011.test:
moved dir
mysql-test/t/rpl000012.test:
moved dir
mysql-test/t/rpl000013.test:
moved dir
mysql-test/t/sel000001.test:
moved dir
mysql-test/t/sel000002.test:
moved dir
BitKeeper/etc/ignore:
Added libmysql_r/hash.c scripts/mysql-3.23.29-gamma-pc-linux-gnu-i686.tar.gz to the ignore list
mysql-test/t/sel000003.test:
moved dir
mysql-test/t/sel000004.test:
moved dir
mysql-test/t/sel000005.test:
moved dir
mysql-test/t/sel000100.test:
moved dir
mysql-test/t/shw000001.test:
moved dir
scripts/make_binary_distribution.sh:
fixes to include mysql-test
added -debug option to exit after building temp dir before tar.gz
removed a bunch of SCCS files
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
mysql-test/mysql-test-run:
compatibility (FreeBSD) changes from mysql-4.0 backpropagated
myisammrg/mymrgdef.h:
merge + insert OK
myisammrg/myrg_info.c:
merge + insert OK
myisammrg/myrg_rrnd.c:
merge + insert OK
BitKeeper/etc/ignore:
Added mysql-test/var/lib/mysql-bin.008 to the ignore list
mysql-test/r/3.23/sel000100.result:
coredump fixed, now it makes sense to have something in the result file
mysql-test/t/3.23/sel000100.test:
renamed result file
BitKeeper/etc/ignore:
Added mysql-test/var/lib/test/test1.frm mysql-test/var/lib/test/test1.MYD mysql-test/var/lib/test/test1.MYI mysql-test/var/lib/test/test2.frm mysql-test/var/lib/test/test2.MYD mysql-test/var/lib/test/test2.MYI mysql-test/var/run/mysqld.pid mysql-test/var/tmp/mysql.sock to the ignore list
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
BitKeeper/etc/ignore:
Added client/thimble support-files/mysql-3.23.29-gamma.spec to the ignore list
client/mysqltest.c:
added while, let, and echo, added fractional sec sleep support
client/thimble.cc:
fixes to make it compile
mysql-test/t/3.23/rpl000001.test:
sleep less
mysql-test/t/3.23/rpl000002.test:
sleep less
mysql-test/t/3.23/rpl000003.test:
sleep less
mysql-test/t/3.23/rpl000005.test:
sleep less
sql/mysqld.cc:
--abort-slave-event count
sql/slave.cc:
remember temp tables when slave thread termintates and restore them on
slave start
sql/slave.h:
--abort-slave-event-count
sql/sql_parse.cc:
remove warning
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
client/mysqltest.c:
added disconnect command
mysql-test/create-test-result:
fixed bugs so it actually works
mysql-test/t/include/master-slave.inc:
establish alternate connections to master and slave
sql/mysql_priv.h:
Slave_open_temp_tables
sql/mysqlbinlog.cc:
fixed a bug in reading local binlogs
sql/mysqld.cc:
added Slave_open_temp_tables status variable
sql/slave.cc:
fixed freed memory reference in the error message
sql/sql_class.cc:
slave_proxy_id
sql/sql_class.h:
slave_proxy_id
sql/sql_parse.cc:
small optimization - reorder eval in &&
BitKeeper/etc/ignore:
Added mysql-test/r/3.23/rpl000001.b.result.reject mysql-test/r/3.23/rpl000012.result.reject to the ignore list
sql/sql_table.cc:
added THD arg to rename_temporary_table
sql/unireg.h:
the table_cache_key is now 4 bytes longer
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
mysql-test/r/3.23/rpl000001.b.result:
truncated words file
mysql-test/r/3.23/rpl000004.b.result:
truncated words file
mysql-test/std_data/words:
truncated words file
BitKeeper/etc/ignore:
Added mysql-test/rpl000011.test mysql-test/var/lib/mysql-bin.007 sql/share/norwegian/errmsg.sys sql/share/norwegian-ny/errmsg.sys to the ignore list
mysys/mf_iocache2.c:
got my_b_seek() to work with WRITE_CACHE, at least the one used by the slave
sql/share/romanian/errmsg.sys:
accidently touched the file
sql/slave.cc:
converted FILE to IO_CACHE for master.info
sql/slave.h:
FILE -> IO_CACHE for master.info
sql/sql_repl.cc:
be nice to the stack - change a large stack buffer to be alloced with
alloc_root in send_file()
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)
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
sql/sql_repl.cc:
added unknown error
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
BitKeeper/etc/ignore:
Added BitKeeper/tmp/bkOF1wtJ scripts/mysqldumpslow to the ignore list
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
added gdb support, mysqld options per test, and other cool stuff to mysql-test-run
added --replicate-wild-do/ignore-table
more test cases
client/mysqltest.c:
fixed a reject file bug
mysql-test/mysql-test-run:
support for gdb and running only one test case
sql/mysql_priv.h:
wild_compare needs to be global
sql/mysqld.cc:
--replicate-wild-do/ignore-table
sql/slave.cc:
wild,wild
sql/slave.h:
wild fixes
sql/sql_class.cc:
fixed compiler warning
sql/sql_string.cc:
wild stuff needs to be global
BitKeeper/etc/ignore:
Added BitKeeper/tmp/gone mysql-test/r/3.23/rpl mysql-test/r/3.23/rpl.reject mysql-test/var/lib/bar/bar.frm mysql-test/var/lib/bar/bar.MYD mysql-test/var/lib/bar/bar.MYI mysql-test/var/lib/foo/foo.frm mysql-test/var/lib/foo/foo.MYD mysql-test/var/lib/foo/foo.MYI mysql-test/var/lib/test/bar.frm mysql-test/var/lib/test/bar.MYD mysql-test/var/lib/test/bar.MYI mysql-test/var/lib/test/choo.frm mysql-test/var/lib/test/choo.MYD mysql-test/var/lib/test/choo.MYI mysql-test/var/slave-data/bar/bar.frm mysql-test/var/slave-data/bar/bar.MYD mysql-test/var/slave-data/bar/bar.MYI mysql-test/var/slave-data/foo/foo.frm mysql-test/var/slave-data/foo/foo.MYD mysql-test/var/slave-data/foo/foo.MYI mysql-test/var/slave-data/test/bar.frm mysql-test/var/slave-data/test/bar.MYD mysql-test/var/slave-data/test/bar.MYI mysql-test/var/slave-data/test/choo.frm mysql-test/var/slave-data/test/choo.MYD mysql-test/var/slave-data/test/choo.MYI mysql-test/var/tmp/README to the ignore list
public test suite now tests replication code as well
mysql-test/mybin/mysql-test_install_db:
fixes to test replication with two daemons on one machine
mysql-test/mysql-test-run:
fixes for replication tests -- still need to test gcov, the rest works
mysql-test/t/include/master-slave.inc:
include file for replication tests
sql/slave.cc:
fixed bug for the case when the slave loses connection after it has read Int_var event but before Query
sql/sql_insert.cc:
reset error in delayed thread
slave converts delayed insert to regular
added two new test cases
BitKeeper/etc/ignore:
Added mysql-test/r/3.23/sel000004.result.reject mysql-test/var/lib/mysql-bin.006 mysql-test/var/lib/test/elt_ck1.frm mysql-test/var/lib/test/elt_ck1.MYD mysql-test/var/lib/test/elt_ck1.MYI mysql-test/var/lib/test/elt_ck2.frm mysql-test/var/lib/test/elt_ck2.MYD mysql-test/var/lib/test/elt_ck2.MYI to the ignore list
mysql-test/r/3.23/sel000004.result:
new result
mysql-test/r/3.23/sel000005.result:
new result
sql/item_strfunc.cc:
fixed bug in make_set() and elt()