summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl000014.test
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-12-12 15:01:35 -0700
committerunknown <sasha@mysql.sashanet.com>2000-12-12 15:01:35 -0700
commit798d341bf92f623705d5c2ef6a5a8da5cc41fa1b (patch)
tree9e967c9b5aa98ff207e4cd774b59b1e4d3681642 /mysql-test/t/rpl000014.test
parent078c05d50a60871d49f754c0241bf47d4407327f (diff)
downloadmariadb-git-798d341bf92f623705d5c2ef6a5a8da5cc41fa1b.tar.gz
--result-file in mysqltest works nicely now
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
Diffstat (limited to 'mysql-test/t/rpl000014.test')
-rw-r--r--mysql-test/t/rpl000014.test23
1 files changed, 23 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000014.test b/mysql-test/t/rpl000014.test
new file mode 100644
index 00000000000..e47933b140a
--- /dev/null
+++ b/mysql-test/t/rpl000014.test
@@ -0,0 +1,23 @@
+source include/master-slave.inc;
+connection master;
+show master status;
+connection slave;
+show slave status;
+change master to master_log_pos=73;
+sleep 1;
+slave stop;
+change master to master_log_pos=73;
+show slave status;
+slave start;
+show slave status;
+change master to master_log_pos=173;
+show slave status;
+connection master;
+show master status;
+drop table if exists foo;
+create table foo (n int);
+insert into foo values (1),(2),(3);
+connection slave;
+change master to master_log_pos=73;
+sleep 0.3;
+select * from foo;