summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000016.test
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-12-14 20:17:18 -0700
committerunknown <sasha@mysql.sashanet.com>2000-12-14 20:17:18 -0700
commit6aac994eb02eace8e14e5d9911af977c99521737 (patch)
tree6ce66573de32684888564f6510cde5213520f2f3 /mysql-test/t/rpl000016.test
parent230acc45197b7b7eda5dcf33dbad7ed879116e59 (diff)
downloadmariadb-git-6aac994eb02eace8e14e5d9911af977c99521737.tar.gz
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! 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()
Diffstat (limited to 'mysql-test/t/rpl000016.test')
-rw-r--r--mysql-test/t/rpl000016.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000016.test b/mysql-test/t/rpl000016.test
index 6a89797af8a..f7aca9d4d92 100644
--- a/mysql-test/t/rpl000016.test
+++ b/mysql-test/t/rpl000016.test
@@ -17,3 +17,17 @@ insert into foo values('Could not break slave'),('Tried hard');
connection slave;
sleep 0.3;
select * from foo;
+connection master;
+flush logs;
+drop table if exists bar;
+create table bar(m int);
+insert into bar values (34),(67),(123);
+flush logs;
+sleep 0.3;
+show master logs;
+purge master logs to 'master-bin.003';
+show master logs;
+insert into bar values (65);
+connection slave;
+sleep 0.3;
+select * from bar;