diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-11-24 19:49:13 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-11-24 19:49:13 -0700 |
commit | 1ef81b2165e5bd416bcb5b6dc91d0cbb64e4af17 (patch) | |
tree | 8369a6e73770b40358d3b22b40c94e58de8913e4 /mysql-test/t/3.23/rpl000011.test | |
parent | 85a61b2cce24448f7ea24c75584a6f7061fd94e5 (diff) | |
download | mariadb-git-1ef81b2165e5bd416bcb5b6dc91d0cbb64e4af17.tar.gz |
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()
Diffstat (limited to 'mysql-test/t/3.23/rpl000011.test')
-rw-r--r-- | mysql-test/t/3.23/rpl000011.test | 18 |
1 files changed, 18 insertions, 0 deletions
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; + |