From 1ef81b2165e5bd416bcb5b6dc91d0cbb64e4af17 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 24 Nov 2000 19:49:13 -0700 Subject: 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 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() --- mysql-test/t/3.23/rpl000011.test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mysql-test/t/3.23/rpl000011.test (limited to 'mysql-test/t/3.23/rpl000011.test') diff --git a/mysql-test/t/3.23/rpl000011.test b/mysql-test/t/3.23/rpl000011.test new file mode 100644 index 00000000000..a5759f52e09 --- /dev/null +++ b/mysql-test/t/3.23/rpl000011.test @@ -0,0 +1,18 @@ +source t/include/master-slave.inc; +connection master; +use test; +drop table if exists foo; +create table foo (n int); +insert into foo values(1); +connection slave; +#give slave some breathing room to get started +sleep 1; +slave stop; +slave start; +connection master; +insert into foo values(2); +connection slave; +#let slave catch up +sleep 1; +@r/3.23/rpl000011.result select * from foo; + -- cgit v1.2.1